[GRASS-user] postgresql geometry parameter not respected in v.in.ogr -r

patrick_s patrick_GIS at gmx.net
Tue Feb 26 13:14:08 PST 2019


Hm...This is a bit confusing. The code below will load data, but it will 
load geom_1 instead of geom_2, i.e. it seems to ignore the geomfield 
definition. Tested in quotes 'geom_2', but no change. If run the code 
for geom_1, the spatial limitation gets respected.

ogr2ogr -spat 2653156, 1249949, 2675000, 1267232 -geomfield geom_2 -f 
GPKG test.gpkg PG:"dbname=psql_local" ${DBSCHEMA}.${DATASET}




On 26/02/2019 21.39, Markus Metz wrote:
> ogr2ogr -spat 2653156, 1249949, 2675000, 1267232 -geomfield geom_2 -f 
> GPKG test.gpkg "PG:dbname=psql_local" layer ${DBSCHEMA}.${DATASET} 


More information about the grass-user mailing list