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

Emilie Laffray emilie.laffray at gmail.com
Fri Dec 11 13:52:57 GMT 2009

2009/12/11 Frank Steggink <steggink at steggink.org>

> Hi,
> I've created a small Python tool which buffers the polygon in a polygon
> file (for Osmosis), and creates a new polygon file. It can be found
> here: [1]. For the buffering PostGIS is used. All Canadian polygon files
> from [2] have been tested and are working.
> Requirements: Python (2.6, but 2.5 likely works too), PostGIS (1.3+),
> PyGreSQL
> More info can be found in the file itself, or by typing "./polybuffer.py
> -h" in the command prompt.
> Please let me know any issues you experience with this tool.

If it is for Osmosis, do you think it would be a good idea to add a
dependency to JTS inside Osmosis to do it directly inside Osmosis?

Emilie Laffray
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20091211/8bdcfe17/attachment.html>

More information about the dev mailing list