Hi all ! I'd like to have some information and tips about parsing polygons from OSM. Here is the thing: I'm trying to extract parkings from a zone with osmosis. I tried 2 different commands.
For parkings as nodes: (...) --tf accept-nodes amenity=parking --write-xml parkingN.osm For parking as polygons: (...) --tf accept-ways amenity=parking --write-xml parkingW.osm I'm using QGis to preview these data. Nodes are ok, but I don't know how to parse osm file for polygons. Is this the good Osmosis command ? And do you know any good script for parsing polygons from the ways file? An example of parking space: <way id="37287734" version="6" timestamp="2015-07-26T17:08:22Z" uid="1818060" user="miniwark" changeset="32893171"> <nd ref="434469801"/> <nd ref="3667436451"/> <nd ref="434469802"/> <nd ref="434469803"/> <nd ref="434469806"/> <nd ref="2511371188"/> <nd ref="2511371189"/> <nd ref="2511371190"/> <nd ref="2511371192"/> <nd ref="2511371193"/> <nd ref="3667436450"/> <nd ref="434469807"/> <nd ref="434469801"/> <tag k="fee" v="no"/> <tag k="name" v="Parking Saint Jean d'Angély"/> <tag k="amenity" v="parking"/> <tag k="parking" v="surface"/> <tag k="supervised" v="no"/> </way> Thanks ! Gabriel
_______________________________________________ osmosis-dev mailing list osmosis-dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/osmosis-dev