[Gdal-dev] Determine table geometry type?
craig.miller at spatialminds.com
Tue Jun 21 15:53:52 EDT 2005
I'm trying to determine the type of geometry stored in a PostGIS table via
OGR. I am trying to do this by calling
In my code this always returns wkbUnknown for layers. Is GeomType supported
Another options is to query the OGIS extension tables directly and parse the
results. Is this the easiest/correct way of determining all spatial tables?
"SELECT f_table_catalog AS catalog, f_table_schema as schema, f_table_name
AS tablename, f_geometry_column as dgname FROM Geometry_Columns";
Thanks for the help,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gdal-dev