Re: [OSM-talk] Converting polygon to OSM way?

2009-07-10 Thread Simon Wood
On 10 Jul 2009 07:27:33 +0200 Russ Nelson r...@cloudmade.com 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

Re: [OSM-talk] Converting polygon to OSM way?

2009-07-10 Thread Lennard
si...@mungewell.org wrote: Is there a way to convert the same polygon in to an OSM way so that I can merge this in and render it as a bounding shape (rather than the default rectangle). I have used osm2poly.pl in the past:

Re: [OSM-talk] Converting polygon to OSM way?

2009-07-10 Thread simon
I have used osm2poly.pl in the past: http://trac.openstreetmap.org/browser/applications/utils/osm-extract/polygons Thanks Lennard, I suspected that there was some 'real' code already written but didn't know where to find it. I'll place a reference on the Osmosis page for others trying to do

Re: [OSM-talk] Converting polygon to OSM way?

2009-07-10 Thread Ldp
si...@mungewell.org wrote: Thanks Lennard, I suspected that there was some 'real' code already written but didn't know where to find it. Can also do poly2osm, which is nice for the cases where you want to refine an existing poly file. I'll place a reference on the Osmosis page for others

Re: [OSM-talk] Converting polygon to OSM way?

2009-07-10 Thread Frederik Ramm
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

Re: [OSM-talk] Converting polygon to OSM way?

2009-07-09 Thread Russ Nelson
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.