[gdal-dev] Problem appending non-geometry tables in PostGis
Roger André
randre at gmail.com
Fri Jun 5 15:02:34 PDT 2015
Even,
That works, thanks.
Roger
On Fri, Jun 5, 2015 at 12:52 AM, Even Rouault <even.rouault at spatialys.com>
wrote:
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20150605/ffa2ef1a/attachment.html>
More information about the gdal-dev
mailing list