Ticket #2763 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Wrong name for SRS_PT_LAMBERT_CONFORMAL_CONIC_2SP_BELGIUM

Reported by: 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

Changed 3 years ago by rouault

  • status changed from new to closed
  • summary changed from Wrong name for SRS_PT_LAMBERT_CONFORMAL_CONIC_2SP_BELGIUM ? to Wrong name for SRS_PT_LAMBERT_CONFORMAL_CONIC_2SP_BELGIUM
  • resolution set to fixed
  • milestone set to 1.6.1

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.