2014-08-14 9:53 GMT+02:00 jenkin <alessio.cimare...@gmail.com>:

> Andrea, allora visto che ci sei sputa il comando per convertire tutto in
> gejson... :)


GeoJSON non è multilayer, quindi devi andare ad esempio per tipo geometrico:
ogr2ogr -f GeoJSON Palermo---39513_points.json Palermo---39513.osm points
ogr2ogr -f GeoJSON Palermo---39513_lines.json Palermo---39513.osm lines
ogr2ogr -f GeoJSON Palermo---39513_multilinestrings.json
Palermo---39513.osm multilinestrings
ogr2ogr -f GeoJSON Palermo---39513_multipolygons.json Palermo---39513.osm
multipolygons
ogr2ogr -f GeoJSON Palermo---39513_other_relations.json Palermo---39513.osm
other_relations

Occhio non sono topojson.

Ma per te ci sono cose come https://github.com/tyrasd/osmtogeojson/


-- 
Andrea Borruso
website: http://blog.spaziogis.it
GEO+ geomatica in Italia http://bit.ly/GEOplus  <http://bit.ly/GEOplus>
38° 7' 48" N, 13° 21' 9" E, EPSG:4326
--

"cercare e saper riconoscere chi e cosa,
 in mezzo all’inferno, non è inferno,
e farlo durare, e dargli spazio"

Italo Calvino
_______________________________________________
Talk-it mailing list
Talk-it@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-it

Rispondere a