Re: [gdal-dev] I couldn't use OGRCreateCoordinateTransformation

2021-06-20 Thread Brad Hards
m? Brad From: gdal-dev mailto:gdal-dev-boun...@lists.osgeo.org> > On Behalf Of Ahmet Temiz Sent: Sunday, 20 June 2021 5:56 PM To: gdal-dev mailto:gdal-dev@lists.osgeo.org> > Subject: [gdal-dev] I couldn't use OGRCreateCoordinateTransformation Hi, .. source.Se

Re: [gdal-dev] I couldn't use OGRCreateCoordinateTransformation

2021-06-20 Thread Ahmet Temiz
e, minimal, self-contained example that > demonstrates the problem? > > > > Brad > > > > *From:* gdal-dev *On Behalf Of *Ahmet > Temiz > *Sent:* Sunday, 20 June 2021 5:56 PM > *To:* gdal-dev > *Subject:* [gdal-dev] I couldn't use OGRCreateCoordinateTransform

Re: [gdal-dev] I couldn't use OGRCreateCoordinateTransformation

2021-06-20 Thread Brad Hards
What is the `polyGeometry`? Can you try to generate a compilable, minimal, self-contained example that demonstrates the problem? Brad From: gdal-dev On Behalf Of Ahmet Temiz Sent: Sunday, 20 June 2021 5:56 PM To: gdal-dev Subject: [gdal-dev] I couldn'

[gdal-dev] I couldn't use OGRCreateCoordinateTransformation

2021-06-20 Thread Ahmet Temiz
Hi, .. source.SetWellKnownGeogCS( "EPSG:3857" ); dest.SetWellKnownGeogCS( "EPSG:4326" ); OGRCoordinateTransformation* ct = OGRCreateCoordinateTransformation(&source, &dest); OGRPolygon *poPolygon= ( OGRPolygon *) polyGeometry; OGRErr err=poPolygon->transform(ct) ; // it generates this error.