I have styles for ways and polygons in a geoserver setup. However the land is not being properly rendered. I have notice that the feature for 'Arabia' (https://www.openstreetmap.org/relation/5631846#map=12/28.6282/48.4909) is a relation of ways. What I have done is download OSM data and import it into postgis with osm2pgsql, so this relation ends up in the lines table and my current styles for lines don't fit. So, which SDL will render the relation of lines as an area?


There are many issues with trying to use the OSM natural=coastline lines as a polygon. The usual solution is to download one of the pre prepared coastline shapefiles discussed on the wiki page.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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