Note that there are some explanatory texts on larger screens.

plurals
  1. POGeoServer renders shape incorrectly
    primarykey
    data
    text
    <p>I am having trouble displaying country borders properly in GeoServer, as you can see from the link below (map of Italy).</p> <p><a href="http://trideg.server.de/tridec/wms?service=WMS&amp;version=1.1.0&amp;request=GetMap&amp;layers=tridec:static_hasc_regions&amp;styles=&amp;bbox=489196.9,4109254.4,2426416.9,5987770.7&amp;width=775&amp;height=330&amp;srs=EPSG:900913&amp;format=application/openlayers&amp;viewparams=codes%3A%27IT%27" rel="nofollow">http://trideg.server.de/tridec/wms?service=WMS&amp;version=1.1.0&amp;request=GetMap&amp;layers=tridec:static_hasc_regions&amp;styles=&amp;bbox=489196.9,4109254.4,2426416.9,5987770.7&amp;width=775&amp;height=330&amp;srs=EPSG:900913&amp;format=application/openlayers&amp;viewparams=codes%3A%27IT%27</a></p> <p>The problem occurs with country boundaries which have very sharp edges (I assume), e.g. the shape of Albania shows correctly:</p> <p><a href="http://trideg.server.de/tridec/wms?service=WMS&amp;version=1.1.0&amp;request=GetMap&amp;layers=tridec:static_hasc_regions&amp;styles=&amp;bbox=489196.9,4109254.4,2426416.9,5987770.7&amp;width=775&amp;height=330&amp;srs=EPSG:900913&amp;format=application/openlayers&amp;viewparams=codes%3A%27AL%27" rel="nofollow">http://trideg.server.de/tridec/wms?service=WMS&amp;version=1.1.0&amp;request=GetMap&amp;layers=tridec:static_hasc_regions&amp;styles=&amp;bbox=489196.9,4109254.4,2426416.9,5987770.7&amp;width=775&amp;height=330&amp;srs=EPSG:900913&amp;format=application/openlayers&amp;viewparams=codes%3A%27AL%27</a></p> <p>I obtained the ESRI shapefile from naturalearthdata.com and used ogr2ogr to transfer them in a database, which GeoServer uses as a datasource and created a layer in it.</p> <p>Anyone has a lead? Either I missed something in the layer configuration (the projections are alright though, as the shapes are positioned correctly in the map), or ogr2ogr messed up the data during the conversion.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload