fossgis / osmdata

Scripts for creating OSM data derived data sets
GNU General Public License v3.0
28 stars 5 forks source link

Lakes and islands in lakes #13

Closed PaulWessel closed 4 years ago

PaulWessel commented 4 years ago

Nice job on these shapefiles! Given you seem to have a well-oiled process for extracting global features from OSM, may you consider also extracting features such as lakes and islands-in-lakes (and even ponds-in-islands-in-lakes)? The coastline is great but lakes are important features. I apologize if these are no including in one of your shapefiles - I believe they were not last time I checked (a few years ago).

joto commented 4 years ago

There is nothing special required to extract lakes etc. from OpenStreetMap data. Islands in lakes are just holes in multipolygons so there is no special processing required if they are mapped correctly. Existing tools such as osm2pgsql do this just fine. A precursor to this web site had generalized water features for lower zoom levels available but it was discontinued due to lack of time to keep the software current and lack of use.

PaulWessel commented 4 years ago

Thanks for your answer. Does this mean your land polygon shapefile has those holes or do I need to access the OSM data directly?

joto commented 4 years ago

No, the land polygons shapefile is only concerned with land vs. ocean. You need to get the rest from OSM data.