Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've successfully imported all data for Sweden to my PostGIS database. Right now I'm designing my map in Tilemill with OSM Bright as base.

But I've got a major problem: where is the coastline? Right now all the roads and buildings are on the water. I've looked through all three landusages tables, and the only relevant geometry types are land and island, but they aren't what I expected.

I'm a GIS rookie, so any help is appreciated. :-)

share|improve this question
Where did you get your source OSM data from? – Mapperz Mar 28 '13 at 17:07 – Ivar Mar 28 '13 at 17:12… has Swedish Coastline separately – Mapperz Mar 28 '13 at 17:22
Ah nice! I tried to import that with imposm, but no new table was created. Have I missed something? – Ivar Mar 28 '13 at 17:49
Because of their complexity, separate tools are used to process OpenStreetMap coastlines into shapefiles instead of loading them into PostgreSQL. TileMill should have downloaded these automatically when you loaded your OSM Bright project. Find the layers named "processed_p" and "shoreline_300" in your project. Do they point to ""; and ""; respectively? – ajashton Mar 28 '13 at 18:39

On, you can download pre-processed land polygons, water polygons and coastlines. They are derived from the OSM data and updated daily.

Land or water polygons are especially interesting in your case, as you won't have to manually close the coastline.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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