Got some problem with Mercator in Geoserver, I tried to display Flight Information Region that has been stored in my Postgre.

The result is more likely drawing using Cartesian projection: enter image description here

I tried redrawing the FIR based on the same data using WorldWind and got the result: enter image description here

Here is the configuration of the Coordinate Reference System (EPSG:4326): enter image description here

And I tried with EPSG:900913 (the result same like the first picture):

enter image description here

Also I tried to change the Native SRS to 900913 but got error:

<ServiceExceptionReport version="1.3.0" xsi:schemaLocation="http://www.opengis.net/ogc"><ServiceException code="internalError">
      Rendering process failed
ERROR: Operation on two geometries with different SRIDs

Is there anything wrong with the configuration?

1 Answer 1


Your data is clearly in EPSG:4326 not EPSG:900913 so when you tell GeoServer that it is in 900913 it gets confused and tries to reproject it in to 4326 when that is what you ask for (and hence it ends up in the wrong place).

You need to leave the projection of the datastore in the same projection as the data is actually in and modify the WMS (or WFS) request to be 900913 then GeoServer can correctly reproject the data to be in the right place on the map.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.