Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Translate DC building shapefiles with ogr2osm https://github.com/pnorman/ogr2osm
#
# Run:
# python ogr2osm/ogr2osm.py addresses.shp -t ogr2osm/translations/dcaddresses.py
#
# This will create a buildings.osm file ready to be opened, *reviewed* and uploaded with JOSM or Potlatch.
#
@andinocl
andinocl / dcbuildings.py
Last active December 17, 2015 12:09
Modified from ixbarth's https://gist.github.com/lxbarth/5537879 to create a custom translation for tags from DC GIS
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Translate DC building shapefiles with ogr2osm https://github.com/pnorman/ogr2osm
#
# Run:
# python ogr2osm/ogr2osm.py buildings.shp -t ogr2osm/translations/dcbuildings.py
#
# This will create a buildings.osm file ready to be opened, *reviewed* and uploaded with JOSM or Potlatch.
#