[OSM-talk] Request from big online mapping company
Nick Whitelegg
Nick.Whitelegg at solent.ac.uk
Wed Feb 14 14:08:18 GMT 2007
Hello David,
osm2shp should give you good results *if* your ways meet these criteria:
all segments aligned in same direction
each branch in a branched road is a separate way
If the first criterion is not met. "wayclean" can be used to clean up the
way. Currently there is no way to deal with the second issue.
osm2shp uses a JOSM-format elemstyles.xml to decide what to treat as a
polyline and what to treat as an area. You can find this in SVN, in
libs/libosm I think.
If this doesn't meet your needs, you can use osm2pgsql to put it into a
Postgresql database then ogr2ogr (part of GDAL download) to convert to
shapefile.
Nick
More information about the talk
mailing list