diff --git a/src/publictransport/coverage/.gitignore b/src/publictransport/coverage/.gitignore new file mode 100644 index 0000000..2695acb --- /dev/null +++ b/src/publictransport/coverage/.gitignore @@ -0,0 +1 @@ +10m_cultural diff --git a/src/publictransport/coverage/README b/src/publictransport/coverage/README new file mode 100644 index 0000000..da9754f --- /dev/null +++ b/src/publictransport/coverage/README @@ -0,0 +1 @@ +For loading the QGIS file in here, link or copy the 10m_cultural natural-earth subdir into this folder. diff --git a/src/publictransport/coverage/public_transport_coverage.geojson b/src/publictransport/coverage/public_transport_coverage.geojson new file mode 100644 index 0000000..69695ac --- /dev/null +++ b/src/publictransport/coverage/public_transport_coverage.geojson @@ -0,0 +1,12 @@ +{ +"type": "FeatureCollection", +"name": "public_transport_coverage", +"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } }, +"features": [ +{ "type": "Feature", "properties": { "id": 5, "pto": "dsb" }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ 8.010326488000569, 54.535890700621387 ], [ 12.421389701338327, 54.236615025380182 ], [ 13.891744105784246, 57.645755325953914 ], [ 7.85418265743994, 58.036114902355479 ], [ 8.010326488000569, 54.535890700621387 ] ] ] ] } }, +{ "type": "Feature", "properties": { "id": 1, "pto": "vbb" }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ 11.049980606188592, 53.255023340553734 ], [ 14.450175166469796, 53.658123819796209 ], [ 14.907763336584974, 51.429550154798044 ], [ 13.148976578464548, 51.250906431986493 ], [ 11.049980606188592, 53.255023340553734 ] ] ] ] } }, +{ "type": "Feature", "properties": { "id": 2, "pto": "oebb" }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ 9.14562225603507, 47.724658258492276 ], [ 17.052572342480296, 49.537661624446251 ], [ 17.325824045961401, 46.267315839926397 ], [ 9.622728404970328, 46.492856928513973 ], [ 9.14562225603507, 47.724658258492276 ] ] ] ] } }, +{ "type": "Feature", "properties": { "id": 3, "pto": "sncf" }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ -5.61972872135432, 48.662605574012751 ], [ 2.460714510158212, 51.369098637063651 ], [ 8.732491704343463, 49.000917206894115 ], [ 10.098750221748965, 41.063605820062165 ], [ -2.314684307821011, 42.807211927989179 ], [ -5.61972872135432, 48.662605574012751 ] ] ] ] } }, +{ "type": "Feature", "properties": { "id": 4, "pto": "sncb" }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ 1.797103230275546, 51.108858919462591 ], [ 5.551061156670661, 49.1245310727546 ], [ 6.598526020014879, 50.464765618399994 ], [ 5.154195587329063, 51.837530128745527 ], [ 1.797103230275546, 51.108858919462591 ] ] ] ] } } +] +} diff --git a/src/publictransport/coverage/public_transport_coverage.qgs b/src/publictransport/coverage/public_transport_coverage.qgs new file mode 100644 index 0000000..15c0eaa --- /dev/null +++ b/src/publictransport/coverage/public_transport_coverage.qgs @@ -0,0 +1,2591 @@ + + + + + + + + + + +proj=longlat +datum=WGS84 +no_defs + 3452 + 4326 + EPSG:4326 + WGS 84 + longlat + WGS84 + true + + + + + + + + + + + + + + + ne_10m_admin_0_map_subunits_2b08d38d_61e1_4742_9820_3aae7e836c60 + ne_10m_admin_1_states_provinces_9613e253_e4e8_4490_adff_50865fee9e30 + public_transport_coverage_08534f9a_2533_4a57_be66_fe99bfd3eb0a + + + + + + + + + + + + degrees + + -3.88262860636731943 + 45.64196630931141385 + 38.30222961676251714 + 60.85344188768098661 + + 0 + + + +proj=longlat +datum=WGS84 +no_defs + 3452 + 4326 + EPSG:4326 + WGS 84 + longlat + WGS84 + true + + + 0 + + + + + + + + + + + + + + + + + + + -179.99999999999991473 + -89.99999999999994316 + 180 + 83.63410065300007545 + + ne_10m_admin_0_map_subunits_2b08d38d_61e1_4742_9820_3aae7e836c60 + ../../../../natural-earth-vector/natural-earth-vector-4.1.0/10m_cultural/ne_10m_admin_0_map_subunits.shp + + + + ne_10m_admin_0_map_subunits + + + +proj=longlat +datum=WGS84 +no_defs + 3452 + 4326 + EPSG:4326 + WGS 84 + longlat + WGS84 + true + + + + + + + + + + + + + + + + 0 + 0 + + + + + false + + + + + ogr + + + + + + + + + + + 1 + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + 0 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + 0 + generatedlayout + + + + + + + + + -179.99999999999991473 + -89.99999999999994316 + 180 + 83.63410065300007545 + + ne_10m_admin_1_states_provinces_9613e253_e4e8_4490_adff_50865fee9e30 + ../../../../natural-earth-vector/natural-earth-vector-4.1.0/10m_cultural/ne_10m_admin_1_states_provinces.shp + + + + ne_10m_admin_1_states_provinces + + + +proj=longlat +datum=WGS84 +no_defs + 3452 + 4326 + EPSG:4326 + WGS 84 + longlat + WGS84 + true + + + + + + + + + + + + + + + + 0 + 0 + + + + + false + + + + + ogr + + + + + + + + + + + 1 + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + 0 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + 0 + generatedlayout + + + + + + + + + -5.61972872135431967 + 41.06360582006216475 + 17.3258240459614008 + 58.03611490235547876 + + public_transport_coverage_08534f9a_2533_4a57_be66_fe99bfd3eb0a + ./public_transport_coverage.geojson|layername=public_transport_coverage + + + + public_transport_coverage + + + +proj=longlat +datum=WGS84 +no_defs + 3452 + 4326 + EPSG:4326 + WGS 84 + longlat + WGS84 + true + + + + + + + + + + + + + + + + + + + + + + + + + 0 + 0 + + + + + false + + + + + + + + + + + + + ogr + + + + + + + + + + + 1 + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + 0 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + 0 + generatedlayout + + + + + + + + + + id + + + + + + + + + + + 255 + 255 + 255 + 255 + 0 + 255 + 255 + + + 2 + true + + + WGS84 + + + false + + + 1 + + + 50 + false + 30 + false + 16 + 0 + false + true + true + + + false + + + + + + + + + + + + + + + + + Volker Krause + 2018-12-16T15:47:21 + + + + diff --git a/src/publictransport/networks/bvg.json b/src/publictransport/networks/bvg.json index 337de07..0aa9855 100644 --- a/src/publictransport/networks/bvg.json +++ b/src/publictransport/networks/bvg.json @@ -1,19 +1,22 @@ { "type": "hafas_mgate", "options": { "endpoint": "https://bvg-apps.hafas.de/bin/mgate.exe", "aid": "1Rxs112shyHLatUX4fofnmdxK", "clientId": "BVG", "clientType": "AND", "version": "1.14", "lineModeMap": { "1": "RapidTransit", "2": "Metro", "4": "Tramway", "8": "Bus", "16": "Ferry", "32": "LongDistanceTrain", "64": "LocalTrain" } + }, + "filter": { + "geo": [ [ 11.05, 53.255 ], [ 14.45, 53.658 ], [ 14.908, 51.4295 ], [ 13.149, 51.25 ] ] } } diff --git a/src/publictransport/networks/dsb.json b/src/publictransport/networks/dsb.json index 7bd514c..c3791b9 100644 --- a/src/publictransport/networks/dsb.json +++ b/src/publictransport/networks/dsb.json @@ -1,23 +1,26 @@ { "type": "hafas_mgate", "options": { "endpoint": "http://mobilapps.rejseplanen.dk/bin/iphone.exe", "aid": "irkmpm9mdznstenr-android", "clientId": "DK", "clientType": "AND", "version": "1.14", "lineModeMap": { "1": "LongDistanceTrain", "2": "LongDistanceTrain", "4": "LocalTrain", "8": "LocalTrain", "16": "RapidTransit", "32": "Bus", "64": "Bus", "128": "Bus", "256": "Ferry", "512": "Metro", "1024": "Tramway" } + }, + "filter": { + "geo": [ [ 8.01, 54.536 ], [ 12.4214, 54.237 ], [ 13.89, 57.646 ], [ 7.85, 58.036 ] ] } } diff --git a/src/publictransport/networks/oebb.json b/src/publictransport/networks/oebb.json index 57f109b..a4a983f 100644 --- a/src/publictransport/networks/oebb.json +++ b/src/publictransport/networks/oebb.json @@ -1,22 +1,25 @@ { "type": "hafas_mgate", "options": { "endpoint": "http://fahrplan.oebb.at/bin/mgate.exe", "aid": "OWDL4fE4ixNiPBBm", "clientId": "OEBB", "clientType": "AND", "version": "1.14", "lineModeMap": { "1": "LongDistanceTrain", "2": "LongDistanceTrain", "4": "LongDistanceTrain", "8": "Train", "16": "LocalTrain", "32": "RapidTransit", "64": "Bus", "128": "Ferry", "256": "Metro", "512": "Tramway" } + }, + "filter": { + "geo": [ [ 9.145, 47.724 ], [ 17.052, 49.537 ], [ 17.325, 46.267 ], [ 9.622, 46.492 ] ] } } diff --git a/src/publictransport/networks/sncb.json b/src/publictransport/networks/sncb.json index 06f2364..a279221 100644 --- a/src/publictransport/networks/sncb.json +++ b/src/publictransport/networks/sncb.json @@ -1,18 +1,21 @@ { "type": "hafas_mgate", "options": { "endpoint": "http://www.belgianrail.be/jp/sncb-nmbs-routeplanner/mgate.exe", "aid": "sncb-mobi", "clientId": "SNCB", "clientType": "AND", "version": "1.14", "lineModeMap": { "1": "LongDistanceTrain", "4": "LongDistanceTrain", "64": "RapidTransit", "256": "Metro", "512": "Bus", "1024": "Tramway" } + }, + "filter": { + "geo": [ [ 1.797, 51.1 ], [ 5.55, 49.124 ], [ 6.598, 50.464 ], [ 5.154, 51.837 ] ] } } diff --git a/src/publictransport/networks/sncf.json b/src/publictransport/networks/sncf.json index 9f60d39..92ecbc1 100644 --- a/src/publictransport/networks/sncf.json +++ b/src/publictransport/networks/sncf.json @@ -1,8 +1,11 @@ { "type": "navitia", "options": { "endpoint": "api.sncf.com", "coverage": "sncf", "authorization": "f0f7fc73-c7f6-4f1d-8ae0-fd1e7bd20271" + }, + "filter": { + "geo": [ [ -5.619, 48.66 ], [ 2.46, 51.369 ], [ 8.732, 49.0 ], [ 10.1, 41.06 ], [ -2.31, 42.81 ] ] } }