Re: [gdal-dev] Projection error messages when warping from worldwide to local projection

2018-11-09 Thread Even Rouault
On vendredi 9 novembre 2018 15:50:19 CET thomas bonfort wrote: > Salut Even, > Thanks for the quick answer. Sorry I forgot to mention I was using gdal > 2.3.2 and proj 4.9.3. I'll upgrade to 5.1.0! Use 5.2.0 while your are it -- Spatialys - Geospatial professional services http://www.spatialys.c

Re: [gdal-dev] Projection error messages when warping from worldwide to local projection

2018-11-09 Thread thomas bonfort
Salut Even, Thanks for the quick answer. Sorry I forgot to mention I was using gdal 2.3.2 and proj 4.9.3. I'll upgrade to 5.1.0! Regards, Thomas On Fri, Nov 9, 2018 at 3:27 PM Even Rouault wrote: > Salut Thomas, > > I don't get any warning with GDAL 2.3.2 and PROJ 5.1.0. While > investigating,

Re: [gdal-dev] Projection error messages when warping from worldwide to local projection

2018-11-09 Thread Even Rouault
Salut Thomas, I don't get any warning with GDAL 2.3.2 and PROJ 5.1.0. While investigating, I found this is due to the use of the PROJ 5 transformation API that doesn't emit an error when an out of domain situation happens when transforming a single point (wheras PROJ 4 did), but just returning

[gdal-dev] Projection error messages when warping from worldwide to local projection

2018-11-09 Thread thomas bonfort
Hi, I'm trying to warp an extract of a epsg:3857 tiled layer to a local transverse mercator projection. osm.xml: https://a.tile.openstreetmap.org/${z}/${x}/${y}.png -20037508.34 20037508.34 20037508.34 -20037508.34 18 1 1 top EPSG:3857 256 256 3 5 I then run an extract over a 200 meter sq

Re: [gdal-dev] projection error

2015-09-08 Thread Even Rouault
Le mardi 08 septembre 2015 14:43:51, y hema a écrit : > hi , > poDataset = (GDALDataset *) GDALOpen( pszFilename, GA_ReadOnly ); > > if( poDataset != NULL ) > { > numBands = poDataset->GetRasterCount(); > width = poDataset->GetRasterXSize(); > height = poDataset->Ge

Re: [gdal-dev] projection error

2015-09-08 Thread y hema
hi , poDataset = (GDALDataset *) GDALOpen( pszFilename, GA_ReadOnly ); if( poDataset != NULL ) { numBands = poDataset->GetRasterCount(); width = poDataset->GetRasterXSize(); height = poDataset->GetRasterYSize(); GDALRasterBand *poBand; poBands = new

Re: [gdal-dev] projection error

2015-09-08 Thread Jukka Rahkonen
Hema Yeedunuri amigooptima.in> writes: > hi all, > i have a geotiff file .i have wrapper classes for gdal for reading and writing.gdal version is 1.11 and proj is 4.2 .whe i try to load a file it is giving following error.i am using ubuntu 12.04. > ERROR 1: Only OGC WKT Projections supported for

[gdal-dev] projection error

2015-09-08 Thread Hema Yeedunuri
hi all, i have a geotiff file .i have wrapper classes for gdal for reading and writing.gdal version is 1.11 and proj is 4.2 .whe i try to load a file it is giving following error.i am using ubuntu 12.04. ERROR 1: Only OGC WKT Projections supported for writing to GeoTIFF. thanks, hema _