This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

How to draw coastline shp file on GeoServer?

0

I've downloaded the coastline shapefile and loaded it into my PostgreSQL/PostGIS database, then added the osm_coastline.sld style into my GeoServer. I am able to draw the coastline in combination with a Natural Earth II image pyramid. However, the coastline file seems to be made of many small squares, some of which actually have edges that are coastlines. Is there some way to specify the style such that the interior lines are not drawn but the actual land/water interfaces are?

Thanks! Thom

asked 28 Jun '12, 18:56

PixelPshr's gravatar image

PixelPshr
1111
accept rate: 0%

Which coastline shapefile are you talking about?

(28 Jun '12, 23:55) Frederik Ramm ♦
1

I got a copy of the processed coastline data from http://tile.openstreetmap.org/processed_p.tar.bz2

(02 Jul '12, 14:49) PixelPshr

Source code available on GitHub .