[Geoserver-devel] [jira] (GEOS-5996) The GeoJSON outputs an invalid crs type

Wouter Storteboom created BugGEOS-5996
The GeoJSON outputs an invalid crs type

Issue Type:

BugBug

Affects Versions:

2.3.3

Assignee:

Andrea Aime

Created:

26/Aug/13 7:38 AM

Description:

The GeoJSON output currently in Geoserver produces:
“crs”:{“type”:“EPSG”,“properties”:{“code”:“28992”}}

According to http://www.geojson.org/geojson-spec.html#coordinate-reference-system-objects the preferred way should be:
“crs”: {
“type”: “name”,
“properties”:

{ “name”: “urn:ogc:def:crs:OGC:1.3:CRS84” }

}

I found this is a problem when working with the proj4leaflet plugin for Leafletjs. That plugin does not support the legacy way that Geoserver currently uses. I have also filed a bug report with the developer of the proj4leaflet plugin to support the legacy way.

Environment:

Geoserver 2.3.3 running on Glassfish 3.1.2 with JDK 17.0.25.

Project:

GeoServer

Priority:

MajorMajor

Reporter:

Wouter Storteboom

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)