Opened 15 years ago

Closed 15 years ago

#2763 closed defect (fixed)

Wrong name for SRS_PT_LAMBERT_CONFORMAL_CONIC_2SP_BELGIUM

Reported by: Even Rouault Owned by: warmerdam
Priority: normal Milestone: 1.6.1
Component: default Version: unspecified
Severity: normal Keywords:
Cc:

Description

The SRS_PT_LAMBERT_CONFORMAL_CONIC_2SP_BELGIUM macro in osr_srs_api.h has a closing parenthesis at the end of the string :

#define SRS_PT_LAMBERT_CONFORMAL_CONIC_2SP_BELGIUM                      \
                                "Lambert_Conformal_Conic_2SP_Belgium)"

I suppose that it is wrong ?

The "funny" consequences is that http://spatialreference.org/ref/epsg/31300/html/ or http://postgis.refractions.net/pipermail/postgis-commits/2008-May/000283.html are wrong then...

Change History (1)

comment:1 by Even Rouault, 15 years ago

Milestone: 1.6.1
Resolution: fixed
Status: newclosed
Summary: Wrong name for SRS_PT_LAMBERT_CONFORMAL_CONIC_2SP_BELGIUM ?Wrong name for SRS_PT_LAMBERT_CONFORMAL_CONIC_2SP_BELGIUM

Yes, http://www.remotesensing.org/geotiff/proj_list/lambert_conic_conformal_2sp_belgium.html and many other references found on the web confirm that the OGC WKT name shouldn't have a closing parenthesis.

Ironically, while googling, I discovered that there's a frmts/gxf/gxf_ogcwkt.c that has a copy&paste of #define from osr_srs_api.h. So, I fixed that one too.

Fixed in trunk in r16107 and in branches/1.6 in r16108

Note: See TracTickets for help on using tickets.