Opened 18 years ago

Last modified 14 years ago

#1315 closed defect

gdal_translate : Lambert_Conformal_Conic_1SP and Lambert_Conformal_Conic_2SP — at Initial Version

Reported by: favard@… Owned by: warmerdam
Priority: highest Milestone: 1.4.3
Component: GDAL_Raster Version: unspecified
Severity: blocker Keywords: geotiff srs
Cc: favard@…, warmerdam, Kyle Shannon

Description

I'm trying to translate a GRD file to a TIF raster, with new coordinate system.
This system is defined in a prj file.

PROJCS["NTF_France_III_degrees",GEOGCS["GCS_NTF",DATUM["D_NTF",SPHEROID["Clarke_1880_IGN",6378249.2,293.46602]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["false_easting",600000],PARAMETER["false_northing",3200000],PARAMETER["central_meridian",2.337229166666667],PARAMETER["standard_parallel_1",44.1],PARAMETER["scale_factor",0.999877499],PARAMETER["latitude_of_origin",44.1],UNIT["Meter",1]]]

System projection is Lambert_Conformal_Conic_1SP.
when I run gdal_translate the system projection of the generated file is Lambert_Conformal_Conic_2SP....Why ?

PROJCS["NTF_France_III_degrees",
    GEOGCS["GCS_NTF",
        DATUM["unknown",
            SPHEROID["unnamed",6378249.2,293.4660200000038]],
        PRIMEM["Greenwich",0],
        UNIT["degree",0.0174532925199433]],
    PROJECTION["Lambert_Conformal_Conic_2SP"],
    PARAMETER["standard_parallel_1",0],
    PARAMETER["standard_parallel_2",0],
    PARAMETER["latitude_of_origin",44.1],
    PARAMETER["central_meridian",2.337229166666667],
    PARAMETER["false_easting",600000],
    PARAMETER["false_northing",3200000],
    UNIT["metre",1,
        AUTHORITY["EPSG","9001"]]]

The problem is that parameters for Lambert_Conformal_Conic_2SP seem to be wrong.
It seems that standard_parallel_1 and standard_parallel_2 cannot have the same value.

Is it a bug ?
How to resolve this problem ?

thank you for your answer...
I retrieve the same problem if I use gdalwarp tool.

It is

Change History (0)

Note: See TracTickets for help on using tickets.