Skip to content

v0.2.48..v0.2.49 changeset regex translation.osm

Garret Voltz edited this page Oct 2, 2019 · 1 revision
diff --git a/test-files/translation_assistant/regex-translation.osm b/test-files/translation_assistant/regex-translation.osm
new file mode 100644
index 0000000..132402f
--- /dev/null
+++ b/test-files/translation_assistant/regex-translation.osm
@@ -0,0 +1,90 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<osm version="0.6" generator="hootenanny" srs="+epsg:4326">
+    <bounds minlat="-37.81368366500612" minlon="144.9694390949544" maxlat="-37.81225062619787" maxlon="144.9712865871541"/>
+    <node visible="true" id="-32" timestamp="1970-01-01T00:00:00Z" version="1" lat="-37.8133945236163740" lon="144.9706993376463799"/>
+    <node visible="true" id="-31" timestamp="1970-01-01T00:00:00Z" version="1" lat="-37.8136836650061170" lon="144.9705401185896676"/>
+    <node visible="true" id="-30" timestamp="1970-01-01T00:00:00Z" version="1" lat="-37.8136624286713783" lon="144.9707158798860291"/>
+    <node visible="true" id="-29" timestamp="1970-01-01T00:00:00Z" version="1" lat="-37.8134811027953646" lon="144.9708213366638176"/>
+    <node visible="true" id="-28" timestamp="1970-01-01T00:00:00Z" version="1" lat="-37.8136281238100764" lon="144.9710425891192074"/>
+    <node visible="true" id="-27" timestamp="1970-01-01T00:00:00Z" version="1" lat="-37.8136101545906840" lon="144.9712865871541112"/>
+    <node visible="true" id="-26" timestamp="1970-01-01T00:00:00Z" version="1" lat="-37.8133879893345863" lon="144.9708792345026040"/>
+    <node visible="true" id="-25" timestamp="1970-01-01T00:00:00Z" version="1" lat="-37.8129599926185449" lon="144.9709288612215516"/>
+    <node visible="true" id="-24" timestamp="1970-01-01T00:00:00Z" version="1" lat="-37.8130171678959073" lon="144.9707324221256783"/>
+    <node visible="true" id="-23" timestamp="1970-01-01T00:00:00Z" version="1" lat="-37.8132605707242888" lon="144.9707096765461358"/>
+    <node visible="true" id="-22" timestamp="1970-01-01T00:00:00Z" version="1" lat="-37.8131004803637509" lon="144.9704594751713387"/>
+    <node visible="true" id="-21" timestamp="1970-01-01T00:00:00Z" version="1" lat="-37.8131478540780392" lon="144.9702940527747899"/>
+    <node visible="true" id="-20" timestamp="1970-01-01T00:00:00Z" version="1" lat="-37.8126610468756184" lon="144.9701203592584022"/>
+    <node visible="true" id="-19" timestamp="1970-01-01T00:00:00Z" version="1" lat="-37.8125973369706614" lon="144.9703023238946002"/>
+    <node visible="true" id="-18" timestamp="1970-01-01T00:00:00Z" version="1" lat="-37.8127917336881154" lon="144.9703767639730643"/>
+    <node visible="true" id="-17" timestamp="1970-01-01T00:00:00Z" version="1" lat="-37.8128538098430127" lon="144.9701844604370820"/>
+    <node visible="true" id="-16" timestamp="1970-01-01T00:00:00Z" version="1" lat="-37.8130090000018271" lon="144.9702464938357593"/>
+    <node visible="true" id="-15" timestamp="1970-01-01T00:00:00Z" version="1" lat="-37.8128701456645544" lon="144.9707303543456760"/>
+    <node visible="true" id="-14" timestamp="1970-01-01T00:00:00Z" version="1" lat="-37.8123571991425322" lon="144.9705566608293168"/>
+    <node visible="true" id="-13" timestamp="1970-01-01T00:00:00Z" version="1" lat="-37.8125189247045057" lon="144.9700645291995329"/>
+    <node visible="true" id="-12" timestamp="1970-01-01T00:00:00Z" version="1" lat="-37.8131814473443200" lon="144.9697173108689014"/>
+    <node visible="true" id="-11" timestamp="1970-01-01T00:00:00Z" version="1" lat="-37.8130337524760520" lon="144.9701020044790596"/>
+    <node visible="true" id="-10" timestamp="1970-01-01T00:00:00Z" version="1" lat="-37.8122506261978657" lon="144.9698203538002019"/>
+    <node visible="true" id="-9" timestamp="1970-01-01T00:00:00Z" version="1" lat="-37.8123880167729141" lon="144.9694390949544243"/>
+    <node visible="true" id="-8" timestamp="1970-01-01T00:00:00Z" version="1" lat="-37.8136726186503296" lon="144.9701054392434401"/>
+    <node visible="true" id="-7" timestamp="1970-01-01T00:00:00Z" version="1" lat="-37.8136348362422368" lon="144.9702187864678535"/>
+    <node visible="true" id="-6" timestamp="1970-01-01T00:00:00Z" version="1" lat="-37.8134253156151701" lon="144.9703012208128712"/>
+    <node visible="true" id="-5" timestamp="1970-01-01T00:00:00Z" version="1" lat="-37.8133257074482074" lon="144.9702703079335038"/>
+    <node visible="true" id="-4" timestamp="1970-01-01T00:00:00Z" version="1" lat="-37.8132398383387525" lon="144.9700676568352549"/>
+    <node visible="true" id="-3" timestamp="1970-01-01T00:00:00Z" version="1" lat="-37.8132913598043956" lon="144.9699440053177284"/>
+    <node visible="true" id="-2" timestamp="1970-01-01T00:00:00Z" version="1" lat="-37.8134493589657836" lon="144.9698753100302042"/>
+    <node visible="true" id="-1" timestamp="1970-01-01T00:00:00Z" version="1" lat="-37.8135695757190504" lon="144.9699165272027415"/>
+    <way visible="true" id="-4" timestamp="1970-01-01T00:00:00Z" version="1">
+        <nd ref="-21"/>
+        <nd ref="-22"/>
+        <nd ref="-23"/>
+        <nd ref="-24"/>
+        <nd ref="-25"/>
+        <nd ref="-26"/>
+        <nd ref="-27"/>
+        <nd ref="-28"/>
+        <nd ref="-29"/>
+        <nd ref="-30"/>
+        <nd ref="-31"/>
+        <nd ref="-32"/>
+        <nd ref="-21"/>
+        <tag k="name" v="X Building"/>
+        <tag k="building" v="commercial"/>
+    </way>
+    <way visible="true" id="-3" timestamp="1970-01-01T00:00:00Z" version="1">
+        <nd ref="-13"/>
+        <nd ref="-14"/>
+        <nd ref="-15"/>
+        <nd ref="-16"/>
+        <nd ref="-17"/>
+        <nd ref="-18"/>
+        <nd ref="-19"/>
+        <nd ref="-20"/>
+        <nd ref="-13"/>
+        <tag k="name" v="Corner Store"/>
+        <tag k="shop" v="general"/>
+        <tag k="building" v="yes"/>
+    </way>
+    <way visible="true" id="-2" timestamp="1970-01-01T00:00:00Z" version="1">
+        <nd ref="-9"/>
+        <nd ref="-10"/>
+        <nd ref="-11"/>
+        <nd ref="-12"/>
+        <nd ref="-9"/>
+        <tag k="name" v="Some Office Building"/>
+        <tag k="building" v="commercial"/>
+    </way>
+    <way visible="true" id="-1" timestamp="1970-01-01T00:00:00Z" version="1">
+        <nd ref="-1"/>
+        <nd ref="-2"/>
+        <nd ref="-3"/>
+        <nd ref="-4"/>
+        <nd ref="-5"/>
+        <nd ref="-6"/>
+        <nd ref="-7"/>
+        <nd ref="-8"/>
+        <nd ref="-1"/>
+        <tag k="name" v="Another Grocery Store"/>
+        <tag k="shop" v="supermarket"/>
+        <tag k="building" v="yes"/>
+    </way>
+</osm>
Clone this wiki locally