[gdal-dev] python scripts - create layer problem
Even Rouault
even.rouault at mines-paris.org
Thu Jul 10 02:32:54 PDT 2014
Hi Martin,
I would say that your Zsj layer is a non-spatial layer. Is it the case ?
If yes, then the output of the log and the content of geometry_columns are
consistant. You may not see it directly when running ogrinfo on the PostGIS DB
since by default only spatial layers are listed. You can however query it
directly with GetLayerByName(), or define PG_LIST_ALL_TABLES=YES as a
configuration option (see http://gdal.org/drv_pg_advanced.html)
If your layer is supposed to have a geometry column, then the problem is likely
on the read side.
Even
More information about the gdal-dev
mailing list