I recently added a reservoir to OSM. It is at : http://www.openstreetmap.org/#map=14/18.8371/99.6444&layers=C I went overboard when I traced it from Bing and used about 4,000 nodes, too big to upload as I later learned.(JOSM tells me 2,000 nodes is max per relation). Not wanting to waste any of my work, I split it into two separate pieces. Both pieces are inner members of a much larger wood multi-polygon. I know I did not do this right because islands in the reservoir (such as this one) are also inner members of the same wood polygon and they do not show up in the OSM slippy map. Relations are tricky and I admit to being a novice with them. Aside from making a commitment to never trace in such detail in the future, how can I fix this? asked 11 Oct '13, 02:58 AlaskaDave SomeoneElse ♦ |
I note at this page see 'Island within a hole' that the islands probably need to be role="outer" You may need to add a landuse= tag to the islands to get them to appear. In regard to the 2000 node limit: My understanding is that instead of one way with 4000 nodes, you just split up the way into smaller segments < 2000 each and then combine the separate ways in a relation to make one really big polygon. After creating all your polygons, then you would select all your polygons and click create multi-polygon and give them roles. I am still reluctantly learning about these complexities so someone else may need to correct this if necessary. I am interested in how you managed to do such a big and detailed trace - 4000 clicks is certainly an effort worthy of a special tag in this forum especially if done one click at a time. Did you use Lakewalker which seems not active from this note on the page "Lakewalker is no longer actively developed and is considered 'dead' Use Scanaerial instead." or did you use Scanaerial I am not familiar with either but I am thinking of giving them a run with a creek in my area if the images available define the water body well enough. answered 11 Oct '13, 06:06 nevw 1
I would probably have done it as two multipolygons. One for the large wood, with the reservoir ways as role inner (but untagged), and one for the reservoir (ways as outer, tags on relation) with the islands as inner holes of the reservoir (with tags on the island ways as they are now). So reservoir is a hole in wood, and the islands are holes in the reservoir, if that makes sense?
(11 Oct '13, 09:38)
EdLoach ♦
1
I'm still confused. Adding some new information, and almost making matters worse, is the fact that a fresh download of a Garmin compatible map from Lambertus does show the one island I mapped as a member of wood polygon with role=inner. So why does it not show in the slippy maps? nevw, I hand traced the entire damn thing. Don't ask me why. I worked on it for a while, took a dinner break, came back and finished it. Crazy. Ed, I don't understand the difference between tagging the relation vs tagging the object as regards rendering. I might fool with the "two separate ways" idea later.
(11 Oct '13, 12:26)
AlaskaDave
|