[OSM-dev] Gisify relations
Frederik Ramm
frederik at remote.org
Fri Jun 12 12:35:56 BST 2009
Hi,
Andreas Kalsch wrote:
> Is there a script to gisify OSM relations - a script which creates
> OpenGIS multipolygons or geometrycollections inside PostGIS or MySQL as
> WKT ?
No but there's this:
http://wiki.openstreetmap.org/wiki/Boundaries.pl
It generates .poly files from relations. The .poly files are basically
text files with a list of lat/lons and I guess they could be converted
quite easily into something else. In fact, if you do a little bit of
Perl you could use the shapelib to create shapefiles directly from above
script.
Bye
Frederik
More information about the dev
mailing list