[gdal-dev] Problem appending non-geometry tables in PostGis
Even Rouault
even.rouault at spatialys.com
Fri Jun 5 00:52:41 PDT 2015
Le vendredi 05 juin 2015 02:19:06, Roger André a écrit :
> Hi All,
>
> I'm having some trouble using ogr2ogr to do batch uploads to a Postgis DB.
> It appears that on tables which don't contain geometry, CreateLayer is
> failing and not allowing data to be appended to an existing table. Here is
> the command that is being used to load each feature class:
>
> ogr2ogr -f "PostgreSQL" -lco ENCODING=UTF-8 -append -update PG:"host=foo
> dbname=bar user=crak password=head" ./nokia_here_asia/file.gdb CityPOINames
Roger,
Add --config PG_LIST_ALL_TABLES YES
Even
--
Spatialys - Geospatial professional services
http://www.spatialys.com
More information about the gdal-dev
mailing list