Projection Parsing Error

Feb 16, 2013 at 7:57 PM
Hello,

I have a problem when parsing the folloing projection:

PROJCS["International_Terrestrial_Reference_Frame_1992Lambert_Conformal_Conic_2SP",
GEOGCS["GCS_International_Terrestrial_Reference_Frame_1992",
DATUM["International_Terrestrial_Reference_Frame_1992",
SPHEROID["GRS_1980",6378137,298.257222101],
TOWGS84[0,0,0,0,0,0,0]],
PRIMEM["Greenwich",0],
UNIT["Degree",0.0174532925199433]],
PROJECTION["Lambert_Conformal_Conic_2SP",AUTHORITY["EPSG","9802"]],
PARAMETER["Central_Meridian",-102],
PARAMETER["Latitude_Of_Origin",12],
PARAMETER["False_Easting",2500000],
PARAMETER["False_Northing",0],
PARAMETER["Standard_Parallel_1",17.5],
PARAMETER["Standard_Parallel_2",29.5],
PARAMETER["Scale_Factor",1],
UNIT["Meter",1,AUTHORITY["EPSG","9001"]]]

The problem is in this line, as I detected:

PROJECTION["Lambert_Conformal_Conic_2SP",AUTHORITY["EPSG","9802"]],

If I change to:

PROJECTION["Lambert_Conformal_Conic_2SP"],

The parsing is succesful.


Because customers of this app can frequently find this or a similar projection which is coming from a .prj file, I need to find how to fix that.

Any clues ?
Feb 16, 2013 at 7:58 PM
Forgot to say that the parsing error is:

"Expecting (']') but got a ',' at line X column Y

Thanks