[Gdal-dev] OGR - set layer's spatial reference

Martin Dobias wonder.sk at gmail.com
Fri Nov 3 15:34:42 EST 2006


Hi,

I'm searching for a way how to change layer's spatial reference. It
seems that it can be set only when creating the layer with
OGRDataSource::CreateLayer(). Then, OGRLayer has function
GetSpatialRef(), but documentation says that the returned spatial
reference shouldn't be modified by application. Is there any way how
to modify it once layer has been created?

Thanks,
Martin Dobias



More information about the Gdal-dev mailing list