This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# Update: A newer version can be found in the OSM SVN: | |
# http://trac.openstreetmap.org/browser/applications/utils/osm-extract/polygons/ogr2poly.py | |
# This converts OGR supported files (Shapefile, GPX, etc.) to the polygon | |
# filter file format [1] supported by Osmosis and other tools. It also | |
# includes buffering and simplifying. This allows point or line features | |
# to be used when creating POLY files, but in this case buffering must | |
# be used. |