diff --git a/mobility_data/README.md b/mobility_data/README.md index 0db5ac0aa..c2613c82c 100644 --- a/mobility_data/README.md +++ b/mobility_data/README.md @@ -17,22 +17,28 @@ To import all data sources: The data sources can be imported separetely as explained below: ### Gas filling stations -To import data type: +To import data: ``` ./manage.py import_gas_filling_stations ``` ### Charging stations -To import data type: +To import data: ``` ./manage.py import_charging_stations ``` ### Parking garages -To import data type: +To import data: ``` ./manage.py import_parking_garages ``` + +### Voice activated crosswalks +To import data: +``` +./manage.py import_voice_activated_crosswalks +``` ### Culture Routes -To import data type: +To import data: ``` ./manage.py import_culture_routes ``` @@ -41,19 +47,19 @@ Culture routes are not deleted before importing. To explicity delete Culture Rou ./manage.py import_culture_routes --delete ``` ### Bicycle stands -To import data type: +To import data: ``` ./manage.py import_bicycle_stands ``` ### Bike service stations -To import data type: +To import data: ``` ./manage.py import_bike_service_stations ``` ### Payment Zones -To import data type: +To import data: ``` ./manage.py import_wfs PaymentZone ``` @@ -65,27 +71,27 @@ To import type: ``` ### Scooter Restriction -To import data type: +To import data: ``` ./manage.py import_wfs ScooterParkingArea ScooterSpeedLimitArea ScooterNoParkingArea ``` ### Accessories Imports public benches, toilets, tables and furniture groups. -To import data type: +To import data: ``` ./manage.py import_wfs PublicToilet PublicTable PublicBench PublicFurnitureGroup ``` ### Share car parking places Imports parking places for car sharing cars. -To import data type: +To import data: ``` ./manage.py import_share_car_parking_places ``` ### Bicycle networks Imports brush salted(BLB) and brush sanded bicycle networks(BND). -To import data type: +To import data: ``` ./manage.py import_wfs BrushSaltedBicycleNetwork BrushSandedBicycleNetwork ``` @@ -93,20 +99,20 @@ To import data type: ### Marinas Imports marinas, guest marina and boat parking. Imports also berths that belongs to marinas. -To import data type: +To import data: ``` ./manage.py import_marinas ``` ### Disabled and no staff parkings Imports disabled parkings and no staff parkings, i.e., no staff parking are parking places that are not intended for the staff. -To import data type: +To import data: ``` ./manage.py import_disabled_and_no_staff_parkings ``` ### Loading and unloading places -To import data type: +To import data: ``` ./manage.py import_loading_and_unloading_places ``` @@ -122,30 +128,30 @@ To run the importer type: ``` ### Paavonpolkus -To import data type: +To import data: ``` ./manage.py import_wfs PaavonPolku ``` ### Paddling trails -To import data type: +To import data: ``` ./manage.py import_wfs PaddlingTrail ``` ### Hiking trails -To import data type: +To import data: ``` ./manage.py import_wfs HikingTrail ``` ### Nature trails -To import data type: +To import data: ``` ./manage.py import_wfs NatureTrail ``` ### Fitness trails -To import data type: +To import data: ``` ./manage.py import_wfs FitnessTrail ``` @@ -210,7 +216,7 @@ e.g., this would delete Paavonpolku mobile units, ## WFS Importer The WFS importer imports data from the open Turku WFS server. To set up a data source for importing in the WFS importer, configure the data source in the mobility_data/importers/data/wfs_importer_config.yml file. -To import the data type: +To import the data: ``` ./manage import_wfs CONTENT_TYPE_NAME ``` diff --git a/mobility_data/data/voice_activated_crosswalks.geojson b/mobility_data/data/voice_activated_crosswalks.geojson new file mode 100644 index 000000000..d83a906de --- /dev/null +++ b/mobility_data/data/voice_activated_crosswalks.geojson @@ -0,0 +1,169 @@ +{ + "type": "FeatureCollection", + "name": "Ääniohjatut suojatiet", + "crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:EPSG::3067" } }, + "features": [ + { "type": "Feature", "properties": { "fid": 1, "suojatie_nro": 8, "risteys_nro": 104, "ohjaamattomat_lkm": 3 }, "geometry": { "type": "LineString", "coordinates": [ [ 238785.476350082899444, 6710787.179703054018319 ], [ 238801.159901414532214, 6710795.759528193622828 ] ] } }, + { "type": "Feature", "properties": { "fid": 2, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239020.927103977213847, 6710397.627265906892717 ], [ 239031.11574677072349, 6710403.767441364936531 ] ] } }, + { "type": "Feature", "properties": { "fid": 3, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239039.415104807820171, 6710403.497543542645872 ], [ 239050.750813346268842, 6710385.549338356591761 ] ] } }, + { "type": "Feature", "properties": { "fid": 4, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 238917.949321115942439, 6710866.511011812835932 ], [ 238935.897654084255919, 6710877.703883664682508 ] ] } }, + { "type": "Feature", "properties": { "fid": 5, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239016.904919489228632, 6711298.208586361259222 ], [ 239004.459631285077194, 6711319.520125638693571 ] ] } }, + { "type": "Feature", "properties": { "fid": 6, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 238991.688976069068303, 6711319.032075121067464 ], [ 239000.31120188368368, 6711321.228302450850606 ] ] } }, + { "type": "Feature", "properties": { "fid": 7, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239453.610582904802868, 6710649.61184077616781 ], [ 239465.736342108779354, 6710656.738383466377854 ] ] } }, + { "type": "Feature", "properties": { "fid": 8, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239470.097360769839725, 6710654.398324673064053 ], [ 239477.862101312726736, 6710641.208902380429208 ] ] } }, + { "type": "Feature", "properties": { "fid": 9, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239517.004902953602141, 6710685.776385770179331 ], [ 239526.896969672641717, 6710669.076875287108123 ] ] } }, + { "type": "Feature", "properties": { "fid": 10, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239438.358620041573886, 6710777.385969730094075 ], [ 239430.953635568963364, 6710789.933304531499743 ] ] } }, + { "type": "Feature", "properties": { "fid": 11, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239432.187799647741485, 6710793.910055451095104 ], [ 239442.746758988272632, 6710800.766522555612028 ] ] } }, + { "type": "Feature", "properties": { "fid": 12, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239352.492224393296055, 6710915.470851270481944 ], [ 239360.220164856640622, 6710906.840377613902092 ] ] } }, + { "type": "Feature", "properties": { "fid": 13, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239353.225532612443203, 6710923.02956676017493 ], [ 239366.707122179854196, 6710930.362648951821029 ] ] } }, + { "type": "Feature", "properties": { "fid": 14, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239247.893159424420446, 6711089.289698415435851 ], [ 239258.569114134239499, 6711072.40068809594959 ] ] } }, + { "type": "Feature", "properties": { "fid": 15, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239262.681981932284543, 6711071.875641142949462 ], [ 239277.38329661465832, 6711080.276392390020192 ] ] } }, + { "type": "Feature", "properties": { "fid": 16, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239277.03326531269704, 6711086.051908873021603 ], [ 239269.507592320529511, 6711098.303004441782832 ] ] } }, + { "type": "Feature", "properties": { "fid": 17, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239079.981903818174032, 6711363.362039299681783 ], [ 239092.363657381967641, 6711342.875865221954882 ] ] } }, + { "type": "Feature", "properties": { "fid": 18, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239102.698424547241302, 6711342.917316056787968 ], [ 239117.264884046133375, 6711352.569789218716323 ] ] } }, + { "type": "Feature", "properties": { "fid": 19, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239118.906197706208332, 6711361.150649035349488 ], [ 239104.148515541688539, 6711380.782428061589599 ] ] } }, + { "type": "Feature", "properties": { "fid": 20, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239642.278751972713508, 6710756.197743291035295 ], [ 239649.06676946245716, 6710744.628600439056754 ] ] } }, + { "type": "Feature", "properties": { "fid": 21, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239577.576008876872947, 6710860.373957100324333 ], [ 239571.757624593330547, 6710869.886553627438843 ] ] } }, + { "type": "Feature", "properties": { "fid": 22, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239564.276844800217077, 6710872.749568116851151 ], [ 239556.611354394903174, 6710868.870645260438323 ] ] } }, + { "type": "Feature", "properties": { "fid": 23, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239794.945684937760234, 6710856.213388208299875 ], [ 239806.450015566282673, 6710862.919948664493859 ] ] } }, + { "type": "Feature", "properties": { "fid": 24, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239814.343121333804447, 6710859.153957023285329 ], [ 239821.823515688651241, 6710847.030559276230633 ] ] } }, + { "type": "Feature", "properties": { "fid": 25, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239723.774210824834881, 6710961.017535008490086 ], [ 239728.814177512103925, 6710952.238238198682666 ] ] } }, + { "type": "Feature", "properties": { "fid": 26, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239737.430894751596497, 6710949.311805928125978 ], [ 239749.705652328615543, 6710957.765943597070873 ] ] } }, + { "type": "Feature", "properties": { "fid": 27, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239753.363692666142015, 6710969.227803321555257 ], [ 239745.234714138321579, 6710984.591572739183903 ] ] } }, + { "type": "Feature", "properties": { "fid": 28, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239725.887745242071105, 6710978.007100131362677 ], [ 239737.674764107418014, 6710985.241891021840274 ] ] } }, + { "type": "Feature", "properties": { "fid": 29, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239655.318943854916142, 6711087.108892453834414 ], [ 239667.587602408631938, 6711094.597554168663919 ] ] } }, + { "type": "Feature", "properties": { "fid": 30, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239923.752699392702198, 6710923.219572795554996 ], [ 239932.29349138517864, 6710909.085163512267172 ] ] } }, + { "type": "Feature", "properties": { "fid": 31, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239924.173724350082921, 6710925.805868961848319 ], [ 239935.541398199216928, 6710932.662561125122011 ] ] } }, + { "type": "Feature", "properties": { "fid": 32, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239940.473404842749005, 6710932.843000392429531 ], [ 239947.390243428206304, 6710921.234740853309631 ] ] } }, + { "type": "Feature", "properties": { "fid": 33, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239873.254528032673988, 6711039.425874955020845 ], [ 239866.209164038125891, 6711052.287760387174785 ] ] } }, + { "type": "Feature", "properties": { "fid": 34, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239856.542269254889106, 6711051.79622336383909 ], [ 239850.725747817516094, 6711048.683155552484095 ] ] } }, + { "type": "Feature", "properties": { "fid": 35, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239849.578828097466612, 6711045.488164903596044 ], [ 239856.951883440604433, 6711030.987822729162872 ] ] } }, + { "type": "Feature", "properties": { "fid": 36, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239872.926836684084265, 6711033.28166216891259 ], [ 239866.454932549560908, 6711029.349365985952318 ] ] } }, + { "type": "Feature", "properties": { "fid": 37, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239726.404248288745293, 6711288.014425275847316 ], [ 239717.68776896817144, 6711302.05764195881784 ] ] } }, + { "type": "Feature", "properties": { "fid": 38, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239856.962906396656763, 6711364.538790107704699 ], [ 239847.464176260051318, 6711382.400532647036016 ] ] } }, + { "type": "Feature", "properties": { "fid": 39, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239654.055320485786069, 6711672.165431281551719 ], [ 239672.723144217976369, 6711682.76068258844316 ], [ 239672.723144217976369, 6711682.76068258844316 ] ] } }, + { "type": "Feature", "properties": { "fid": 40, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 240149.042441442405106, 6711216.367827367037535 ], [ 240157.125557246967219, 6711202.269369568675756 ] ] } }, + { "type": "Feature", "properties": { "fid": 41, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 240077.062650081294123, 6711324.320107952691615 ], [ 240066.307927378162276, 6711338.998851101845503 ] ] } }, + { "type": "Feature", "properties": { "fid": 42, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 240059.113889894302702, 6711344.085544272325933 ], [ 240041.455797888454981, 6711333.839490885846317 ] ] } }, + { "type": "Feature", "properties": { "fid": 43, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239975.595486887730658, 6711472.349591770209372 ], [ 239956.388882661209209, 6711460.897206641733646 ] ] } }, + { "type": "Feature", "properties": { "fid": 44, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239912.965101010951912, 6711590.605843674391508 ], [ 239880.186905149719678, 6711584.183089079335332 ] ] } }, + { "type": "Feature", "properties": { "fid": 45, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239881.368101396976272, 6711572.961724731139839 ], [ 239889.488825596810784, 6711562.257133740000427 ] ] } }, + { "type": "Feature", "properties": { "fid": 46, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239889.337395336391637, 6711733.926702061668038 ], [ 239894.337735201406758, 6711728.579116372391582 ] ] } }, + { "type": "Feature", "properties": { "fid": 47, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239896.004515156411799, 6711722.328691541217268 ], [ 239889.545742830785457, 6711708.855553572066128 ] ] } }, + { "type": "Feature", "properties": { "fid": 48, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239794.905337537406012, 6711748.848360488191247 ], [ 239775.304870154795935, 6711737.132626575417817 ] ] } }, + { "type": "Feature", "properties": { "fid": 49, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 240235.928128957340959, 6711845.23135775141418 ], [ 240223.163986928993836, 6711827.062579008750618 ] ] } }, + { "type": "Feature", "properties": { "fid": 50, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 240209.422410601197043, 6711821.887926834635437 ], [ 240195.85332267920603, 6711831.604773694649339 ] ] } }, + { "type": "Feature", "properties": { "fid": 51, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239144.9663314705831, 6711021.429206527769566 ], [ 239151.322359870420769, 6711011.895163927227259 ] ] } }, + { "type": "Feature", "properties": { "fid": 52, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239155.665645943634445, 6711012.001097734086215 ], [ 239166.0471589967201, 6711017.827457101084292 ] ] } }, + { "type": "Feature", "properties": { "fid": 53, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239167.000563256704481, 6711020.475802266970277 ], [ 239159.797064403537661, 6711032.658190033398569 ] ] } }, + { "type": "Feature", "properties": { "fid": 54, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 238678.749566254613455, 6710729.104928200133145 ], [ 238667.401728827389888, 6710722.800574073567986 ] ] } }, + { "type": "Feature", "properties": { "fid": 55, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 238424.18648011260666, 6710910.473976107314229 ], [ 238412.843591133452719, 6710924.769123861566186 ] ] } }, + { "type": "Feature", "properties": { "fid": 56, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 238400.225027855602093, 6710931.601595386862755 ], [ 238398.804370518424548, 6710951.774929574690759 ] ] } }, + { "type": "Feature", "properties": { "fid": 57, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 238195.490908055566251, 6710700.711088623851538 ], [ 238205.216920068545733, 6710684.659768098965287 ] ] } }, + { "type": "Feature", "properties": { "fid": 58, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 237964.46405431124731, 6710429.019614217802882 ], [ 237948.364477569732117, 6710445.464887392707169 ] ] } }, + { "type": "Feature", "properties": { "fid": 59, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 237437.367124928568956, 6710419.709624597802758 ], [ 237421.063228377781343, 6710398.257129135541618 ] ] } }, + { "type": "Feature", "properties": { "fid": 60, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 237407.419441264210036, 6710392.593670333735645 ], [ 237378.758907327573979, 6710407.696227138862014 ] ] } }, + { "type": "Feature", "properties": { "fid": 61, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 235478.952572761831107, 6710740.988646588288248 ], [ 235460.658053417690098, 6710745.424961902201176 ] ] } }, + { "type": "Feature", "properties": { "fid": 62, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 235449.409593118471093, 6710737.674982433207333 ], [ 235441.655683465534821, 6710709.518598006106913 ] ] } }, + { "type": "Feature", "properties": { "fid": 63, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 238840.330255168228177, 6712813.80146917887032 ], [ 238819.704099089634838, 6712793.565959995612502 ] ] } }, + { "type": "Feature", "properties": { "fid": 64, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 238824.704379351111129, 6712787.549997806549072 ], [ 238840.486513926385669, 6712771.455345714464784 ] ] } }, + { "type": "Feature", "properties": { "fid": 65, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 238171.748982739052735, 6713252.051680297590792 ], [ 238168.505902122764383, 6713248.150753760710359 ], [ 238153.487789793638512, 6713229.108451111242175 ], [ 238153.114411310321884, 6713228.610613132826984 ] ] } }, + { "type": "Feature", "properties": { "fid": 67, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 238184.104940196179086, 6713256.607939609326422 ], [ 238206.345663619023981, 6713238.923475499264896 ] ] } }, + { "type": "Feature", "properties": { "fid": 68, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 237903.866443257837091, 6713435.875270370393991 ], [ 237878.303860651300056, 6713446.780364035628736 ] ] } }, + { "type": "Feature", "properties": { "fid": 70, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 237867.412108395481482, 6713441.755001799203455 ], [ 237857.318569441646105, 6713417.648102939128876 ] ] } }, + { "type": "Feature", "properties": { "fid": 71, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 237434.360151339671575, 6713535.730470662936568 ], [ 237434.550058802706189, 6713524.969047757796943 ] ] } }, + { "type": "Feature", "properties": { "fid": 72, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 237434.486756315018283, 6713522.690158201381564 ], [ 237434.486756315018283, 6713510.536080567166209 ] ] } }, + { "type": "Feature", "properties": { "fid": 73, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 235979.343549109762534, 6712280.185578788630664 ], [ 235970.603824764926685, 6712259.369144440628588 ] ] } }, + { "type": "Feature", "properties": { "fid": 74, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 235940.007766807917506, 6712291.692302577197552 ], [ 235933.680609924078453, 6712282.148664602078497 ] ] } }, + { "type": "Feature", "properties": { "fid": 75, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 236159.666900570620783, 6712490.229020317085087 ], [ 236148.763375035603531, 6712477.877723756246269 ] ] } }, + { "type": "Feature", "properties": { "fid": 76, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 236694.770296327857068, 6712780.025536275468767 ], [ 236696.274180864187656, 6712759.076074943877757 ] ] } }, + { "type": "Feature", "properties": { "fid": 77, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 237932.25672935374314, 6713561.453327896073461 ], [ 237945.347362372063799, 6713584.474785963073373 ] ] } }, + { "type": "Feature", "properties": { "fid": 78, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 237956.632390836166451, 6713585.490438524633646 ], [ 237977.848244348657317, 6713568.280770116485655 ] ] } }, + { "type": "Feature", "properties": { "fid": 79, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239035.161385351908393, 6713986.669162217527628 ], [ 239031.211097030463861, 6713970.467255043797195 ] ] } }, + { "type": "Feature", "properties": { "fid": 80, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239571.91860434220871, 6713861.004831743426621 ], [ 239567.478870017512236, 6713842.152046857401729 ] ] } }, + { "type": "Feature", "properties": { "fid": 81, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 238148.469008580083027, 6713877.846909649670124 ], [ 238165.760019157489296, 6713875.767151733860373 ] ] } }, + { "type": "Feature", "properties": { "fid": 82, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239774.271629350900184, 6711971.552593538537621 ], [ 239769.358110640663654, 6711981.37963095959276 ], [ 239765.18110034102574, 6711987.359303578734398 ], [ 239758.760325187264243, 6711995.253095553256571 ] ] } }, + { "type": "Feature", "properties": { "fid": 83, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239758.187376374553423, 6712010.879841134883463 ], [ 239777.709020384325413, 6712024.890404728241265 ] ] } }, + { "type": "Feature", "properties": { "fid": 84, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239898.505590182641754, 6713010.623402438126504 ], [ 239874.250679712655256, 6713002.65504242759198 ] ] } }, + { "type": "Feature", "properties": { "fid": 85, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 240811.890399706811877, 6715328.676142373122275 ], [ 240783.905582597246394, 6715341.144625243730843 ] ] } }, + { "type": "Feature", "properties": { "fid": 86, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 240784.79209763352992, 6715347.197982438839972 ], [ 240791.812158975022612, 6715358.923799185082316 ], [ 240794.435039036674425, 6715368.181022931821644 ] ] } }, + { "type": "Feature", "properties": { "fid": 87, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 240788.257368661172222, 6713290.514177266508341 ], [ 240797.957572773011634, 6713315.310324027203023 ] ] } }, + { "type": "Feature", "properties": { "fid": 88, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 240804.383957997139078, 6713318.887274294160306 ], [ 240828.210084346879739, 6713312.097131415270269 ] ] } }, + { "type": "Feature", "properties": { "fid": 89, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 241504.74834147686488, 6713811.492115385830402 ], [ 241490.923449489433551, 6713821.026523652486503 ] ] } }, + { "type": "Feature", "properties": { "fid": 90, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 242183.334189816639991, 6713009.347432951442897 ], [ 242164.13333478293498, 6713016.741195038892329 ] ] } }, + { "type": "Feature", "properties": { "fid": 91, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 242153.185981614456978, 6713011.754704328253865 ], [ 242147.683647037629271, 6712998.858607663773 ] ] } }, + { "type": "Feature", "properties": { "fid": 92, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 241460.548738852026872, 6711334.793221835978329 ], [ 241490.651219991734251, 6711344.933004956692457 ] ] } }, + { "type": "Feature", "properties": { "fid": 93, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 241438.748205142386723, 6711367.367275111377239 ], [ 241451.296186754334485, 6711337.201420326717198 ] ] } }, + { "type": "Feature", "properties": { "fid": 94, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 241453.864593220030656, 6711073.155184771865606 ], [ 241475.600127349753166, 6711063.137938607484102 ] ] } }, + { "type": "Feature", "properties": { "fid": 95, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 241428.320852634991752, 6710944.752293015830219 ], [ 241402.534159415401518, 6710954.984168995171785 ] ] } }, + { "type": "Feature", "properties": { "fid": 96, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 241655.466763617645483, 6710852.432897083461285 ], [ 241649.034438799280906, 6710829.443291714414954 ] ] } }, + { "type": "Feature", "properties": { "fid": 97, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 242051.059633724595187, 6710733.446776862256229 ], [ 242034.131232578860363, 6710738.525297206826508 ] ] } }, + { "type": "Feature", "properties": { "fid": 98, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 242027.634386733756401, 6710735.963160816580057 ], [ 242022.601618825545302, 6710721.185124141164124 ] ] } }, + { "type": "Feature", "properties": { "fid": 99, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 242028.686692750925431, 6710714.962792908772826 ], [ 242043.876501346559962, 6710710.021529871970415 ] ] } }, + { "type": "Feature", "properties": { "fid": 100, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 242476.199112238449743, 6710578.471266433596611 ], [ 242484.476980007282691, 6710600.775521256029606 ] ] } }, + { "type": "Feature", "properties": { "fid": 101, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 242480.721280741796363, 6710608.976742100901902 ], [ 242463.552369813813129, 6710615.338436774909496 ] ] } }, + { "type": "Feature", "properties": { "fid": 102, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 243032.617331261135405, 6710191.940446982160211 ], [ 243014.732260893884813, 6710203.863827226683497 ] ] } }, + { "type": "Feature", "properties": { "fid": 103, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 243003.931081142683979, 6710205.406852905638516 ], [ 242987.72931151589728, 6710184.085043526254594 ] ] } }, + { "type": "Feature", "properties": { "fid": 104, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 243304.672780704015167, 6709920.29632060136646 ], [ 243319.256504425517051, 6709938.052477730438113 ] ] } }, + { "type": "Feature", "properties": { "fid": 105, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 243331.046592758822953, 6709934.264497542753816 ], [ 243343.45222787259263, 6709925.45744360703975 ] ] } }, + { "type": "Feature", "properties": { "fid": 106, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 243783.109029920888133, 6709740.774600958451629 ], [ 243783.776374532026239, 6709720.497591620311141 ] ] } }, + { "type": "Feature", "properties": { "fid": 107, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 240219.445749947015429, 6711054.211401450447738 ], [ 240241.575402479473269, 6711068.10300815012306 ] ] } }, + { "type": "Feature", "properties": { "fid": 108, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 240326.196512796333991, 6710895.128776929341257 ], [ 240343.668124079151312, 6710906.227096045389771 ] ] } }, + { "type": "Feature", "properties": { "fid": 110, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 240407.956407736317487, 6710767.343139414675534 ], [ 240428.191238980623893, 6710780.111032932065427 ] ] } }, + { "type": "Feature", "properties": { "fid": 111, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 240738.985718259209534, 6710159.204779461957514 ], [ 240756.672718375310069, 6710165.843597432598472 ] ] } }, + { "type": "Feature", "properties": { "fid": 112, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 240735.071788261528127, 6710147.462989469058812 ], [ 240741.908779903053073, 6710130.865944541990757 ] ] } }, + { "type": "Feature", "properties": { "fid": 113, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 240901.703573582693934, 6709811.488150889053941 ], [ 240924.059662771265721, 6709820.516571522690356 ] ] } }, + { "type": "Feature", "properties": { "fid": 114, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 241197.016167590743862, 6709115.454715961590409 ], [ 241215.632840439997381, 6709132.819847779348493 ] ] } }, + { "type": "Feature", "properties": { "fid": 115, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 240670.938575138599845, 6710346.88051550835371 ], [ 240689.49262687494047, 6710358.105088567361236 ] ] } }, + { "type": "Feature", "properties": { "fid": 116, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 240814.249825979029993, 6709980.452725202776492 ], [ 240831.035419051011559, 6709987.386651175096631 ] ] } }, + { "type": "Feature", "properties": { "fid": 117, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 240607.970940441678977, 6711907.619731979444623 ], [ 240617.883147756423568, 6711886.651601120829582 ] ] } }, + { "type": "Feature", "properties": { "fid": 118, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 240615.595715299190488, 6711918.818620051257312 ], [ 240628.128938971203752, 6711925.156714150682092 ] ] } }, + { "type": "Feature", "properties": { "fid": 119, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 240424.148483360448154, 6710947.976040371693671 ], [ 240435.40971808633185, 6710927.352267472073436 ] ] } }, + { "type": "Feature", "properties": { "fid": 120, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 240429.320794658968225, 6710956.552911005914211 ], [ 240442.087892167968675, 6710963.885808036662638 ] ] } }, + { "type": "Feature", "properties": { "fid": 121, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 240631.439111710496945, 6711039.433464156463742 ], [ 240620.729735273111146, 6711058.139175000600517 ] ] } }, + { "type": "Feature", "properties": { "fid": 122, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 240849.587933869974222, 6711193.129831306636333 ], [ 240859.263008843321586, 6711199.291326421312988 ] ] } }, + { "type": "Feature", "properties": { "fid": 123, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 240868.785319474962307, 6711201.939241677522659 ], [ 240879.22421615672647, 6711185.033321197144687 ] ] } }, + { "type": "Feature", "properties": { "fid": 124, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 240876.118007875804324, 6711176.4785180632025 ], [ 240865.118975274526747, 6711166.192385722883046 ] ] } }, + { "type": "Feature", "properties": { "fid": 125, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 240851.624791759095388, 6711165.326721119694412 ], [ 240841.746030996844638, 6711184.065813699737191 ] ] } }, + { "type": "Feature", "properties": { "fid": 126, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 240934.087088067113655, 6711246.782003289088607 ], [ 240949.086793601862155, 6711251.630850697867572 ] ] } }, + { "type": "Feature", "properties": { "fid": 127, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 240868.340124449634459, 6710577.047638609074056 ], [ 240876.662783520267112, 6710562.807713262736797 ] ] } }, + { "type": "Feature", "properties": { "fid": 128, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 241270.082097677921411, 6710847.181610694155097 ], [ 241256.985603767097928, 6710869.809441840276122 ] ] } }, + { "type": "Feature", "properties": { "fid": 129, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 241770.438889207463944, 6710100.905777275562286 ], [ 241746.677901674760506, 6710095.165355211123824 ] ] } }, + { "type": "Feature", "properties": { "fid": 130, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 241744.280003850377398, 6710087.681007456034422 ], [ 241761.428606473346008, 6710070.750395544804633 ] ] } }, + { "type": "Feature", "properties": { "fid": 131, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 241776.033984131063335, 6710064.791982769034803 ], [ 241798.705018107197247, 6710071.331704108044505 ] ] } }, + { "type": "Feature", "properties": { "fid": 132, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 242719.65546060790075, 6709674.068766280077398 ], [ 242735.041272951901192, 6709664.731430533342063 ] ] } }, + { "type": "Feature", "properties": { "fid": 133, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 242582.680700540426187, 6709397.334914872422814 ], [ 242560.594536846561823, 6709414.828115049749613 ] ] } }, + { "type": "Feature", "properties": { "fid": 134, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 242397.186771112785209, 6708965.024683563038707 ], [ 242419.496681620425079, 6708964.781744428910315 ] ] } }, + { "type": "Feature", "properties": { "fid": 135, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 242406.775294838531408, 6708513.167868928983808 ], [ 242380.99688870535465, 6708519.17359078861773 ] ] } }, + { "type": "Feature", "properties": { "fid": 136, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 242698.0471888112952, 6708244.432875009253621 ], [ 242704.939565809589112, 6708227.498089337721467 ] ] } }, + { "type": "Feature", "properties": { "fid": 137, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 240309.829409687692532, 6709981.866765283979475 ], [ 240318.433478496153839, 6709965.316585870459676 ] ] } }, + { "type": "Feature", "properties": { "fid": 138, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 240330.327338319591945, 6709956.914965739473701 ], [ 240353.052202407823643, 6709970.47902715485543 ] ] } }, + { "type": "Feature", "properties": { "fid": 139, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 240528.175707170652458, 6709640.242547919042408 ], [ 240546.231424362194957, 6709646.429471991956234 ], [ 240554.4385685401503, 6709652.490132307633758 ] ] } }, + { "type": "Feature", "properties": { "fid": 140, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 240529.180127642466687, 6709629.232251594774425 ], [ 240546.427161726227496, 6709614.042203227058053 ] ] } }, + { "type": "Feature", "properties": { "fid": 141, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239120.301335770986043, 6710273.683735144324601 ], [ 239130.509081606578548, 6710259.474088952876627 ] ] } }, + { "type": "Feature", "properties": { "fid": 142, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239130.161090271256398, 6710250.890302682295442 ], [ 239112.065540835435968, 6710240.856552514247596 ] ] } }, + { "type": "Feature", "properties": { "fid": 143, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239099.885844099801034, 6710245.148445649072528 ], [ 239093.564001508435467, 6710258.024125055409968 ] ] } }, + { "type": "Feature", "properties": { "fid": 144, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239249.882892285007983, 6710356.992099826224148 ], [ 239261.280040695040952, 6710336.368688417598605 ] ] } }, + { "type": "Feature", "properties": { "fid": 145, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239258.747341048379894, 6710327.142425418831408 ], [ 239243.370236050715903, 6710318.639790890738368 ] ] } }, + { "type": "Feature", "properties": { "fid": 146, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239156.931264107231982, 6709854.991590526886284 ], [ 239143.079114565131022, 6709847.205414967611432 ] ] } }, + { "type": "Feature", "properties": { "fid": 147, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239135.383475930633722, 6709844.217696438543499 ], [ 239120.26380943696131, 6709850.012059645727277 ] ] } }, + { "type": "Feature", "properties": { "fid": 148, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 238587.500620881124632, 6709409.917177578434348 ], [ 238580.627597642567707, 6709421.982321633026004 ] ] } }, + { "type": "Feature", "properties": { "fid": 149, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 238875.696877991809743, 6709574.857812539674342 ], [ 238869.409784708113875, 6709586.380254877731204 ] ] } }, + { "type": "Feature", "properties": { "fid": 150, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 238990.049603221617872, 6709655.774770170450211 ], [ 238996.445123756187968, 6709644.604392343200743 ] ] } }, + { "type": "Feature", "properties": { "fid": 151, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239200.141653801314533, 6709718.795396320521832 ], [ 239201.60546378797153, 6709706.206630434840918 ] ] } }, + { "type": "Feature", "properties": { "fid": 152, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239435.635795229522046, 6709738.086579035036266 ], [ 239428.299998119851807, 6709750.522501754574478 ] ] } }, + { "type": "Feature", "properties": { "fid": 153, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 238212.904698464932153, 6709166.672588747926056 ], [ 238226.752780531649478, 6709159.993646511808038 ] ] } }, + { "type": "Feature", "properties": { "fid": 154, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239926.356171303370502, 6710041.670597298070788 ], [ 239935.702874151902506, 6710025.665969133377075 ] ] } }, + { "type": "Feature", "properties": { "fid": 155, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 240082.356278016697615, 6709261.981822298839688 ], [ 240075.563367413793458, 6709276.64173620659858 ] ] } }, + { "type": "Feature", "properties": { "fid": 156, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239596.340038929949515, 6708933.718764036893845 ], [ 239576.059393548202934, 6708929.655748493038118 ] ] } }, + { "type": "Feature", "properties": { "fid": 157, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239086.224088425777154, 6708969.152707298286259 ], [ 239084.966019130486529, 6708954.466115741990507 ] ] } }, + { "type": "Feature", "properties": { "fid": 158, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239945.860997549578315, 6709794.058556411415339 ], [ 239938.399895006616134, 6709802.124613214284182 ] ] } }, + { "type": "Feature", "properties": { "fid": 159, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239253.115482453082222, 6709540.001984099857509 ], [ 239240.352647654450266, 6709525.13152520544827 ] ] } }, + { "type": "Feature", "properties": { "fid": 160, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239220.798579660186078, 6709558.385149818845093 ], [ 239236.95703105663415, 6709560.375683686695993 ] ] } }, + { "type": "Feature", "properties": { "fid": 161, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239903.597429655725136, 6710675.399536311626434 ], [ 239918.580807139369426, 6710684.139839843846858 ] ] } }, + { "type": "Feature", "properties": { "fid": 162, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239929.651858280063607, 6710676.06546420045197 ], [ 239940.556427448726026, 6710655.671422624960542 ] ] } }, + { "type": "Feature", "properties": { "fid": 163, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239939.307812658429611, 6710652.425024170428514 ], [ 239921.827205594163388, 6710641.77017795946449 ] ] } }, + { "type": "Feature", "properties": { "fid": 164, "suojatie_nro": null, "risteys_nro": null, "ohjaamattomat_lkm": null }, "geometry": { "type": "LineString", "coordinates": [ [ 239915.66737262866809, 6710642.18638288974762 ], [ 239905.012526418053312, 6710663.66255728341639 ] ] } } + ] + } + \ No newline at end of file diff --git a/mobility_data/importers/data/content_types.yml b/mobility_data/importers/data/content_types.yml index a40a6dbe8..c25a9518b 100644 --- a/mobility_data/importers/data/content_types.yml +++ b/mobility_data/importers/data/content_types.yml @@ -22,6 +22,13 @@ content_types: fi: Parkkihalli sv: Parkeringsgarage en: Parking garage + + - content_type_name: VoiceActivatedCrosswalk + name: + fi: Ääniohjattu suojatie + sv: Skyddsväg med ljudsignal + en: Voice activated crosswalk + - content_type_name: NoStaffParking name: fi: Yleiset pysäköintialueet diff --git a/mobility_data/importers/voice_activated_crosswalks.py b/mobility_data/importers/voice_activated_crosswalks.py new file mode 100644 index 000000000..0aa5602b0 --- /dev/null +++ b/mobility_data/importers/voice_activated_crosswalks.py @@ -0,0 +1,35 @@ +import json + +from django.conf import settings +from django.contrib.gis.geos import LineString + +from .utils import get_file_name_from_data_source, get_root_dir, MobileUnitDataBase + +SOURCE_DATA_SRID = 3067 +GEOJSON_FILENAME = "voice_activated_crosswalks.geojson" +CONTENT_TYPE_NAME = "VoiceActivatedCrosswalk" + + +class VoiceActivatedCrosswalk(MobileUnitDataBase): + + def __init__(self, feature): + super().__init__() + coords = feature["geometry"]["coordinates"] + self.geometry = LineString(coords, srid=SOURCE_DATA_SRID) + self.geometry.transform(settings.DEFAULT_SRID) + + +def get_json_data(): + file_name = get_file_name_from_data_source(CONTENT_TYPE_NAME) + if not file_name: + file_name = f"{get_root_dir()}/mobility_data/data/{GEOJSON_FILENAME}" + json_data = None + + with open(file_name, "r") as json_file: + json_data = json.loads(json_file.read()) + return json_data + + +def get_voice_activated_crosswalks(): + json_data = get_json_data()["features"] + return [VoiceActivatedCrosswalk(feature) for feature in json_data] diff --git a/mobility_data/management/commands/import_mobility_data.py b/mobility_data/management/commands/import_mobility_data.py index 8d3ec2980..26bfd53df 100644 --- a/mobility_data/management/commands/import_mobility_data.py +++ b/mobility_data/management/commands/import_mobility_data.py @@ -28,6 +28,7 @@ "foli_parkandride_stops", "under_and_overpasses", "parking_garages", + "voice_activated_crosswalks", ] # Read the content type names to be imported wfs_content_type_names = get_configured_cotent_type_names() diff --git a/mobility_data/management/commands/import_voice_activated_crosswalks.py b/mobility_data/management/commands/import_voice_activated_crosswalks.py new file mode 100644 index 000000000..73ff6140e --- /dev/null +++ b/mobility_data/management/commands/import_voice_activated_crosswalks.py @@ -0,0 +1,23 @@ +import logging + +from django.core.management import BaseCommand + +from mobility_data.importers.utils import ( + get_or_create_content_type_from_config, + log_imported_message, + save_to_database, +) +from mobility_data.importers.voice_activated_crosswalks import ( + CONTENT_TYPE_NAME, + get_voice_activated_crosswalks, +) + +logger = logging.getLogger("mobility_data") + + +class Command(BaseCommand): + def handle(self, *args, **options): + objects = get_voice_activated_crosswalks() + content_type = get_or_create_content_type_from_config(CONTENT_TYPE_NAME) + num_created, num_deleted = save_to_database(objects, content_type) + log_imported_message(logger, content_type, num_created, num_deleted) diff --git a/mobility_data/tasks.py b/mobility_data/tasks.py index 70e5e9918..f9d4300d2 100644 --- a/mobility_data/tasks.py +++ b/mobility_data/tasks.py @@ -173,6 +173,11 @@ def import_parking_garages(name="import_parking_garages"): management.call_command("import_parking_garages") +@shared_task_email +def import_voice_activated_crosswalks(name="import_voice_activated_crosswalks"): + management.call_command("import_voice_activated_crosswalks") + + @shared_task_email def delete_obsolete_data(name="delete_obsolete_data"): MobileUnit.objects.filter(content_types__isnull=True).delete()