[gdal-dev] gdal_translate eats projection parameter values

2011-08-12 Thread Hermann Peifer
Hi, PARAMETER[Central_Meridian,10.0] from the projection file comes out as: PARAMETER[longitude_of_center,0] PARAMETER[Latitude_Of_Origin,52.0] is changed to PARAMETER[latitude_of_center,0] See the details below. Is there something wrong with my projection file or rather with GDAL?

Re: [gdal-dev] gdal_translate eats projection parameter values

2011-08-12 Thread Even Rouault
Selon Hermann Peifer pei...@gmx.eu: In fact, it is not a bug, but just one of those annoying subtelties you encounter when playing with projections. Your .prj file (as most files with .prj extension) doesn't contain the standard OGC WKT formulation that GDAL/OGR uses internally, but a WKT in its

Re: [gdal-dev] gdal_translate eats projection parameter values

2011-08-12 Thread Hermann Peifer
On 12/08/2011 17:37, Even Rouault wrote: Selon Hermann Peiferpei...@gmx.eu: In fact, it is not a bug, but just one of those annoying subtelties you encounter when playing with projections. (...) So : gdal_translate dummy.asc dummy.tif -a_srs ESRI::ETRS_1989_LAEA_L52_M10.prj Or you could

Re: [gdal-dev] gdal_translate eats projection parameter values

2011-08-12 Thread Frank Warmerdam
On Fri, Aug 12, 2011 at 10:27 AM, Hermann Peifer pei...@gmx.eu wrote: Thanks for the quick response, I will do as you suggested. I wasn't aware of the ESRI:: prefix and wrongly assumed that GDAL would always auto-detect ESRI-isms in the projection files and morph them. The background of the