Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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
    
download.geofabrik.de –  Ivar Mar 28 '13 at 17:12
    
downloads.cloudmade.com/europe/northern_europe/… 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
4  
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 "tilemill-data.s3.amazonaws.com/osm/coastline-good.zip"; and "tilemill-data.s3.amazonaws.com/osm/shoreline_300.zip"; respectively? –  ajashton Mar 28 '13 at 18:39

1 Answer 1

On http://openstreetmapdata.com/, 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

 
discard

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.