[Geoserver-devel] [jira] (GEOS-5932) Different wkt for standard EPSG code between GDAL and GeoServer

Christophe Delépine created BugGEOS-5932
Different wkt for standard EPSG code between GDAL and GeoServer

Issue Type:

BugBug

Assignee:

Andrea Aime

Created:

26/Jul/13 4:36 AM

Description:

Using the reprojection console, i did a conversion from EPSG:4326 (WGS84) to EPSG:2192 (lambert).
Then i did the same using GDAL/OGR C++ API (latest 1.10 version) and i get different results :
GDAL :
6 48 => 873359.875296 2339884.925806

GeoServer :
6 48 => 873357.4736901815 2339884.430176288

I then compared the wkt for EPSG:2192 between GDAL and GeoServer and the parameter TOWGS84 is different :

GDAL : TOWGS84[-87,-98,-121,0,0,0,0]
GeoServer : TOWGS84[-116.641, -56.931, -110.559, 0.893, 0.921, -0.917, -3.52]

If i use geoserver’s wkt string to create the GDAL/OGR spatial reference, then the conversion result returned by GDAL is now much closer to geoserver :
6 48 => 873357.473915 2339884.425400

So my question is : why is this parameter different ? Aren’t EPSG codes supposed to be standard ?

Project:

GeoServer

Priority:

MinorMinor

Reporter:

Christophe Delépine

This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: [http://www.atlassian.com/software/jira](http://www.atlassian.com/software/jira)