Closed smnorris closed 7 years ago
python conservationlands.py dump doesn’t work. I get this error:
python conservationlands.py dump
ERROR 1: ERROR: column "category" does not exist LINE 1: SELECT category, rollup, geom ^
But running this on the command line works just fine (and pretty fast!):
ogr2ogr -t_srs EPSG:3005 -lco OVERWRITE=YES conservation_lands.shp PG:"host=localhost user=postgres dbname=postgis password=postgres" -sql "SELECT category, rollup, geom FROM conservation_lands.conservation_lands"
And I verified in a python session that that is the string being generated, so I don’t really know what’s up there.
dump to .gdb instead
python conservationlands.py dump
doesn’t work. I get this error:ERROR 1: ERROR: column "category" does not exist LINE 1: SELECT category, rollup, geom ^
But running this on the command line works just fine (and pretty fast!):
And I verified in a python session that that is the string being generated, so I don’t really know what’s up there.