Skip to content

Instantly share code, notes, and snippets.

@oeon
Last active December 16, 2015 04:09
Show Gist options
  • Save oeon/5375480 to your computer and use it in GitHub Desktop.
Save oeon/5375480 to your computer and use it in GitHub Desktop.
Running osm2pgsql SVN version 0.81.0 (64bit id space) on Windows 7
  1. Download @onepremise's build (currently) osm2pgsql-dev/osm2pgsql#17 (comment)
  2. Copy cygwin-package folder inside of the .zip package. Paste to a location such as C:\ and rename the folder to something like osm2pgsql.
  3. From Windows Explorer, press Shift + right-click C:\osm2pgsql, select 'Open command window here'.
  4. Type osm2pgsql to verify everything works, or osm2pgsql -h for help on the tool, or paste your command into the command window by right-clicking and selecting 'Paste' e.g. osm2pgsql "C:\Users\JLarson\slo_bldgs_apr2013.osm" -d bldgs -S "C:/Users/jlarson/Dropbox/slu.style" -U postgres --extra-attributes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment