[OSM-talk] extracting (simplified) boundary polygon files out of osm files for osmosis

Gary68 gary at gary68.de
Tue May 26 17:54:09 BST 2009


hi simone,

i implemented something that could help you. but you have to experiment
since for some polygon shapes the algorithm works and for others it
doesn't (really).

see latest version provided v20-beta 003.

-resize
-factor=1.2 (or the like) 1.05 is default, might be too small

if -simplify if given it works on the simplified polygons instead. might
give better results ?!

cheers

gerhard


On Fri, 2009-05-22 at 19:13 +0200, Simone Cortesi wrote:
> On Fri, May 22, 2009 at 1:09 PM, Gary68 <gary at gary68.de> wrote:
> 
> > if you are interested in the topic have a look here:
> > http://wiki.openstreetmap.org/wiki/Boundaries.pl
> 
> Gary,
> 
> I'd like to submit a feature request: a switch to have a circumscribed
> way around the given boundary: i.e. I would like to be able to feed
> this way to osmosis so I can obtain an area with some extra data
> around it.
> 
> Thanks,
> S





More information about the talk mailing list