[OSM-talk] Converting polygon to OSM way?
Frederik Ramm
frederik at remote.org
Fri Jul 10 21:58:23 BST 2009
Hi,
Simon Wood wrote:
>> It's very straightforward. Just needs a program to take the one file
>> format and turn it into a different file format. Just create a bunch
>> of new nodes, connect them together with a way, then add the
>> appropriate metadata for your renderer. Number the nodes and ways
>> with negative numbers.
>
> Yes, it relatively easy... I'm just lazy and wondered if it had been done already
It's been done already but only for simple polygons without holes, it is
in svn under applications/utils/osm-extract/polygons/poly2osm.pl (and
osm2poly.pl).
Bye
Frederik
More information about the talk
mailing list