Skip to content

Instantly share code, notes, and snippets.

@walkermatt
Created June 4, 2012 13:30
Show Gist options
  • Save walkermatt/2868386 to your computer and use it in GitHub Desktop.
Save walkermatt/2868386 to your computer and use it in GitHub Desktop.
Loader config for AddressBase Plus on Windows into PostgreSQL
src_dir=C:\GML_Loader\data\import
out_dir=C:\loader_data\export
tmp_dir=C:\loader_data\temp
ogr_cmd=ogr2ogr -append -skipfailures -f PostgreSQL PG:'dbname=test active_schema=public host=localhost port=5432 user=postgres password=******' $file_path
prep_cmd=python prepgml4ogr.py $file_path prep_osgml.prep_addressbase
gfs_file=../gfs/addressbase_plus_postgres.gfs
debug=True
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment