[gdal-dev] PostGIS layer SRS

Ari Jolma ari.jolma at gmail.com
Tue Aug 30 02:04:04 PDT 2016


Hi,

How does one set the SRS of a new PostGIS layer (especially from the 
bindings)? It does not seem to work with simply setting it with the 
workflow: get geometry field definition and call SetSpatialRef on it.

It is quite simple with UpdateGeometrySRID() in SQL but it would be of 
course useful to be able to do it from the bindings.

Ari




More information about the gdal-dev mailing list