[Geoserver-devel] [JIRA] (GEOS-9846) Geoserver EPSG:23XX projections not covering ED50 / TM30 region

Mahmut ARIKAN created an issue

GeoServer / BugGEOS-9846

Geoserver EPSG:23XX projections not covering ED50 / TM30 region

Issue Type:

BugBug

Affects Versions:

2.18.1

Assignee:

Unassigned

Attachments:

geoserver_epsg2320_ toWGS84_differs.png

Created:

24/Dec/20 11:05 PM

Environment:

Displaying an EPSG:2320 projection WMS layer from Geoserver on Openlayers.

Priority:

MediumMedium

Reporter:

Mahmut ARIKAN

Hi,

Short version:

TOWGS84 parameter for EPSG:23xx in Geoserver 2.x.x points to Svalbard/Norway region rather than Istanbul/Turkey. This misleads OpenLayers user because the written text and map display does not match. On the other hand, this is not noticed when using QGIS3 since it asks users to define towgs84 parameters before displaying a map.

Please see the attached screenshot.

access link: http://localhost:8080/geoserver/web/wicket/bookmarkable/org.geoserver.web.demo.SRSDescriptionPage?3&code=EPSG:2320

Details:

  1. The definition in the written text on the SRS list of Geoserver matches this projection’s datum parameters Svalbard/Norway:
    http://epsg.io/2320-1612

TOWGS84[-116.641,-56.931,-110.559,0.893,0.921,-0.917,-3.52]

  1. Whereas, map depiction in Geoserver shows Istanbul/Turkey (see the attached picture):
    https://epsg.io/2320-1784

TOWGS84[-84.1,-101.8,-129.7,0,0,0.468,1.05]

This datum parameter (towgs84) conflict affects Openlayers. It won’t allow you to get the WMS layer displayed on top of the OSM basemap. Since, definition name EPSG:2320 are the same but datum parameter are different.

Test:
This is tested for EPSG:2320 projection WMS layer on top of OpenStreetMap using OpenLayers.

My solution was to override Geoserver EPSG:2320 definition creating an epsg_overrides.properties file with 2320-1784 under user_projections.

Best,

Mahmut

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100153-sha1:16aad59)

Atlassian logo