sabato 5 ottobre 2019

esempio postazioni TMC con file json

in questo formato viene esportato da umap , pertanto è pure il formato ideale per caricarlo. Comunque csv su 3 colonne va bene lo stesso (intesta colonne con : name, long e lat), i marcatori saranno allora di default.

{"type":"FeatureCollection","features":[","_umap_options":
{"type":"Feature","properties":{"name":"10957","_umap_options":{"showLabel":true,"labelInteractive":true,"labelDirection":"right"}},"geometry":{"type":"Point","coordinates":[9.37515,45.42904]}},","_umap_options":
{"type":"Feature","properties":{"name":"10958","_umap_options":{"showLabel":true,"labelInteractive":true,"labelDirection":"right"}},"geometry":{"type":"Point","coordinates":[9.43238,45.41573]}},","_umap_options":
{"type":"Feature","properties":{"name":"13914","_umap_options":{"showLabel":true,"labelInteractive":true}},"geometry":{"type":"Point","coordinates":[9.27398,45.42529]}},","_umap_options":
{"type":"Feature","properties":{"name":"13915","_umap_options":{"showLabel":true,"labelInteractive":true}},"geometry":{"type":"Point","coordinates":[9.2894,45.42342]}},","_umap_options":
{"type":"Feature","properties":{"name":"13916","_umap_options":{"showLabel":true,"labelInteractive":true}},"geometry":{"type":"Point","coordinates":[9.32105,45.42796]}},","_umap_options":
{"type":"Feature","properties":{"name":"13917","_umap_options":{"showLabel":true,"labelInteractive":true}},"geometry":{"type":"Point","coordinates":[9.36271,45.43027]}},","_umap_options":
{"type":"Feature","properties":{"name":"13919","_umap_options":{"showLabel":true,"labelInteractive":true}},"geometry":{"type":"Point","coordinates":[9.42632,45.41893]}},","_umap_options":
{"type":"Feature","properties":{"name":"25315","_umap_options":{"showLabel":true,"labelInteractive":true}},"geometry":{"type":"Point","coordinates":[9.4324,45.41554]}},","_umap_options":
{"type":"Feature","properties":{"name":"25316","_umap_options":{"showLabel":true,"labelInteractive":true}},"geometry":{"type":"Point","coordinates":[9.43222,45.4118]}},","_umap_options":
{"type":"Feature","properties":{"name":"26606","_umap_options":{"showLabel":true,"labelInteractive":true}},"geometry":{"type":"Point","coordinates":[9.30913,45.42663]}},","_umap_options":
{"type":"Feature","properties":{"name":"26617","_umap_options":{"showLabel":true,"labelInteractive":true}},"geometry":{"type":"Point","coordinates":[9.35384,45.43081]}},","_umap_options":
{"type":"Feature","properties":{"name":"26626","_umap_options":{"showLabel":true,"labelInteractive":true}},"geometry":{"type":"Point","coordinates":[9.40386,45.42532]}},","_umap_options":
{"type":"Feature","properties":{"name":"26730","_umap_options":{"showLabel":true,"labelInteractive":true,"labelDirection":"left"}},"geometry":{"type":"Point","coordinates":[9.40064,45.41604]}},","_umap_options":
{"type":"Feature","properties":{"name":"26731","_umap_options":{"showLabel":true,"labelInteractive":true}},"geometry":{"type":"Point","coordinates":[9.40845,45.41686]}},","_umap_options":
{"type":"Feature","properties":{"name":"26797","_umap_options":{"showLabel":true,"labelInteractive":true}},"geometry":{"type":"Point","coordinates":[9.37484,45.42862]}},","_umap_options":
{"type":"Feature","properties":{"name":"42182","_umap_options":{"showLabel":true,"labelInteractive":true}},"geometry":{"type":"Point","coordinates":[9.40375,45.42532]}}],"_umap_options":
{"displayOnLoad":true,"browsable":true,"name":"layerumappaullesetmclabels.json","id":1014539,"remoteData":{}}}

Nessun commento:

Posta un commento