[OSM-dev] Polygon buffer tool (for Osmosis)

Richard Weait richard at weait.com
Fri Dec 11 13:15:12 GMT 2009


On Fri, Dec 11, 2009 at 7:03 AM,  <marcus.wolschon at googlemail.com> wrote:
> On Thu, 10 Dec 2009 21:40:39 -0500, Frank Steggink <steggink at steggink.org>
> wrote:
>> Hi,
>>
>> I've created a small Python tool which buffers the polygon in a polygon
>> file (for Osmosis),
>
> Excuse me, wich polygon is buffered, when and for what purpose?
[ ... ]
> I guess these created polygon-files are nice for extracts that shall
> contain elements next to the border?

Yes.  Sometimes the surrounding area is interesting for context.

Here is an example of osmosis making several extracts with polygons.
http://wiki.openstreetmap.org/wiki/Osmosis/Examples

http://svn.openstreetmap.org/applications/utils/osm-extract/polygons/polybuffer.py
http://www.maproom.psu.edu/dcw/




More information about the dev mailing list