Skip to main content
deleted 66 characters in body
Source Link
PolyGeo
  • 65.4k
  • 29
  • 114
  • 345

I'm having a problem with "flooded" islands when converting OSM natural=water data to shapefiles and opening it in qgis. It doesn't happen consistently; as you can see from the attached screenshot, some islands are fine, but others initially show up, then get covered by the parent water polygon.

Here's how I'm generating my data:

osmconvert north-america-latest.osm.pbf -b=-80,40,-70,50 --complete-ways --complex-ways -o=w080n40.o5m
osmfilter w080n40.o5m --keep= --keep-ways="natural=water" --keep-relations="natural=water" -o=water.osm
ogr2ogr -skipfailures -f 'ESRI Shapefile' water water.osm

Then I open the resulting polygon layer in qgis, with the result illustrated.

I'd be grateful for any hints on how I can avoid this problem.

Illustration of "flooded" islands in qgis

I'm having a problem with "flooded" islands when converting OSM natural=water data to shapefiles and opening it in qgis. It doesn't happen consistently; as you can see from the attached screenshot, some islands are fine, but others initially show up, then get covered by the parent water polygon.

Here's how I'm generating my data:

osmconvert north-america-latest.osm.pbf -b=-80,40,-70,50 --complete-ways --complex-ways -o=w080n40.o5m
osmfilter w080n40.o5m --keep= --keep-ways="natural=water" --keep-relations="natural=water" -o=water.osm
ogr2ogr -skipfailures -f 'ESRI Shapefile' water water.osm

Then I open the resulting polygon layer in qgis, with the result illustrated.

I'd be grateful for any hints on how I can avoid this problem.

Illustration of "flooded" islands in qgis

I'm having a problem with "flooded" islands when converting OSM natural=water data to shapefiles and opening it in qgis. It doesn't happen consistently; as you can see from the attached screenshot, some islands are fine, but others initially show up, then get covered by the parent water polygon.

Here's how I'm generating my data:

osmconvert north-america-latest.osm.pbf -b=-80,40,-70,50 --complete-ways --complex-ways -o=w080n40.o5m
osmfilter w080n40.o5m --keep= --keep-ways="natural=water" --keep-relations="natural=water" -o=water.osm
ogr2ogr -skipfailures -f 'ESRI Shapefile' water water.osm

Then I open the resulting polygon layer in qgis, with the result illustrated.

Illustration of "flooded" islands in qgis

Tweeted twitter.com/StackGIS/status/812376930360193028
Source Link
Canuck
  • 251
  • 1
  • 5

"Flooded" islands in converted OSM data

I'm having a problem with "flooded" islands when converting OSM natural=water data to shapefiles and opening it in qgis. It doesn't happen consistently; as you can see from the attached screenshot, some islands are fine, but others initially show up, then get covered by the parent water polygon.

Here's how I'm generating my data:

osmconvert north-america-latest.osm.pbf -b=-80,40,-70,50 --complete-ways --complex-ways -o=w080n40.o5m
osmfilter w080n40.o5m --keep= --keep-ways="natural=water" --keep-relations="natural=water" -o=water.osm
ogr2ogr -skipfailures -f 'ESRI Shapefile' water water.osm

Then I open the resulting polygon layer in qgis, with the result illustrated.

I'd be grateful for any hints on how I can avoid this problem.

Illustration of "flooded" islands in qgis