Added "halts" in addition to stations
[quandoparte] / application / resources / stations / downloaddata.sh
index 894692f..3622ad6 100755 (executable)
@@ -1,11 +1,22 @@
 #! /bin/sh
-curl --location --globoff "http://jxapi.openstreetmap.org/xapi/api/0.6/node[railway=station|halt][bbox=8,46,14,47]" -o nord.osm
-curl --location --globoff "http://jxapi.openstreetmap.org/xapi/api/0.6/node[railway=station|halt][bbox=6.7,44,10,46]" -o nordovest.osm
-curl --location --globoff "http://jxapi.openstreetmap.org/xapi/api/0.6/node[railway=station|halt][bbox=10,44,14,46]" -o nordest.osm
-curl --location --globoff "http://jxapi.openstreetmap.org/xapi/api/0.6/node[railway=station|halt][bbox=7.5,43.5,8.5,44]" -o liguria.osm
-curl --location --globoff "http://jxapi.openstreetmap.org/xapi/api/0.6/node[railway=station|halt][bbox=10,42,15,44]" -o centronord.osm
-curl --location --globoff "http://jxapi.openstreetmap.org/xapi/api/0.6/node[railway=station|halt][bbox=12,40,17,42]" -o centrosud.osm
-curl --location --globoff "http://jxapi.openstreetmap.org/xapi/api/0.6/node[railway=station|halt][bbox=12.3,38,17.3,40]" -o sud.osm
-curl --location --globoff "http://jxapi.openstreetmap.org/xapi/api/0.6/node[railway=station|halt][bbox=12,36.5,16.5,38]" -o sicilia.osm
-curl --location --globoff "http://jxapi.openstreetmap.org/xapi/api/0.6/node[railway=station|halt][bbox=17.3,39.5,19,41]" -o puglia.osm
-curl --location --globoff "http://jxapi.openstreetmap.org/xapi/api/0.6/node[railway=station|halt][bbox=8,38.7,10,41.3]" -o sardegna.osm
+curl --location --globoff "http://jxapi.openstreetmap.org/xapi/api/0.6/node[railway=station][bbox=8,46,14,47]" -o nord.osm
+curl --location --globoff "http://jxapi.openstreetmap.org/xapi/api/0.6/node[railway=station][bbox=6.7,44,10,46]" -o nordovest.osm
+curl --location --globoff "http://jxapi.openstreetmap.org/xapi/api/0.6/node[railway=station][bbox=10,44,14,46]" -o nordest.osm
+curl --location --globoff "http://jxapi.openstreetmap.org/xapi/api/0.6/node[railway=station][bbox=7.5,43.5,8.5,44]" -o liguria.osm
+curl --location --globoff "http://jxapi.openstreetmap.org/xapi/api/0.6/node[railway=station][bbox=10,42,15,44]" -o centronord.osm
+curl --location --globoff "http://jxapi.openstreetmap.org/xapi/api/0.6/node[railway=station][bbox=12,40,17,42]" -o centrosud.osm
+curl --location --globoff "http://jxapi.openstreetmap.org/xapi/api/0.6/node[railway=station][bbox=12.3,38,17.3,40]" -o sud.osm
+curl --location --globoff "http://jxapi.openstreetmap.org/xapi/api/0.6/node[railway=station][bbox=12,36.5,16.5,38]" -o sicilia.osm
+curl --location --globoff "http://jxapi.openstreetmap.org/xapi/api/0.6/node[railway=station][bbox=17.3,39.5,19,41]" -o puglia.osm
+curl --location --globoff "http://jxapi.openstreetmap.org/xapi/api/0.6/node[railway=station][bbox=8,38.7,10,41.3]" -o sardegna.osm
+
+curl --location --globoff "http://jxapi.openstreetmap.org/xapi/api/0.6/node[railway=halt][bbox=8,46,14,47]" -o h-nord.osm
+curl --location --globoff "http://jxapi.openstreetmap.org/xapi/api/0.6/node[railway=halt][bbox=6.7,44,10,46]" -o h-nordovest.osm
+curl --location --globoff "http://jxapi.openstreetmap.org/xapi/api/0.6/node[railway=halt][bbox=10,44,14,46]" -o h-nordest.osm
+curl --location --globoff "http://jxapi.openstreetmap.org/xapi/api/0.6/node[railway=halt][bbox=7.5,43.5,8.5,44]" -o h-liguria.osm
+curl --location --globoff "http://jxapi.openstreetmap.org/xapi/api/0.6/node[railway=halt][bbox=10,42,15,44]" -o h-centronord.osm
+curl --location --globoff "http://jxapi.openstreetmap.org/xapi/api/0.6/node[railway=halt][bbox=12,40,17,42]" -o h-centrosud.osm
+curl --location --globoff "http://jxapi.openstreetmap.org/xapi/api/0.6/node[railway=halt][bbox=12.3,38,17.3,40]" -o h-sud.osm
+curl --location --globoff "http://jxapi.openstreetmap.org/xapi/api/0.6/node[railway=halt][bbox=12,36.5,16.5,38]" -o h-sicilia.osm
+curl --location --globoff "http://jxapi.openstreetmap.org/xapi/api/0.6/node[railway=halt][bbox=17.3,39.5,19,41]" -o h-puglia.osm
+curl --location --globoff "http://jxapi.openstreetmap.org/xapi/api/0.6/node[railway=halt][bbox=8,38.7,10,41.3]" -o h-sardegna.osm