I'm working on large multipolygons in northern Thailand which is giving me fits. My previous questions relating to this topic have been about splitting them. But I've given up on that for now in favor of simply modifying them to better suit the actual terrain. Which brings me to my present question: There is one way (id:140856543) which is a member of 7 multipolygons, 5 boundary relations and 2 wood multipolygons. If I want to modify only one of the wood multipolygons I change all the others with it, which is not what I want. How do I select only the relation that I want to edit? Added this screenshot of the way in question asked 11 Jan '15, 08:00 AlaskaDave |
I don't know if you are overly familiar with relations so if I am being overly basic in my instruction please excuse me but scai has outlined the actions required above in his post so I will just expand on his instruction. The instruction is applicable anytime you wish to remove or add something from a relation, regardless if there is 1 or 7 relations sharing the same way. First thing to note, you don't work on just one relation when you are doing these steps until you get to point # 4 below. Your actions affect all relations that share the way you are working on. This is not a reason for you not to proceed, just something you need to be aware of. I am also assuming your question relates to adding or removing ways to existing relations to allow you to add/remove bits to the forest.
Note, the video will go through the adding/deleting bits out of the relation from 19:00 onwards just incase you need something else to reference against answered 11 Jan '15, 14:33 DaCor 2
Thanks very much. It's complicated but at least I understand what needs to be done now. As malenki says above, "That is the disadvantage when mappers combine objects where they shouldn't." I second that comment entirely. National and province boundaries must be superimposed but using those same ways for wood multipolygons was a bad idea. Thanks for your detailed instructions and for making such a comprehensive video. Cheers, Dave
(12 Jan '15, 00:44)
AlaskaDave
2
There is no problem with utilising the same ways for multiple relations, I often do it. It makes more sense to do it sometimes. Other time, not so much and those times I don't. Its fine so long as you know what you are doing and it only takes a bit of concentrated learning to get up to speed
(12 Jan '15, 19:31)
DaCor
3
I agree,and I too have done that on occasion. Lakes or reservoirs in heavily forested regions are good examples. But here there are large natural=wood multipolygons on either side of the national boundary which is entirely inside the wooded area for many miles. A straight line would have achieved the same purpose. But then I would have been deprived of a good learning experience <g> Thanks again...
(13 Jan '15, 00:20)
AlaskaDave
|
To change the geometry of a relation you have to change its members. Because you don't want to change the geometry of all relations you will have to create a new way. The steps are as follows:
answered 11 Jan '15, 09:20 scai ♦ @scai, I need to better understand what you're saying. Are you telling me I should edit the particular multipolygon I'm interested in, search for the way numbered 140856543, remove it or split it or recreate it in some way, and then reattach it somehow? Perhaps way 140856543 is the entire wood multipolygon, all 152 nodes of it. If I split it, aren't I also affecting that way in the other six relations?
(11 Jan '15, 14:31)
AlaskaDave
No, don't reattach it, reattach a newly created way instead. Remove it from the wood multipolygon so that way 140856543 is only used by the other relations but not by the wood multipolygon any more. Then create a new way just for your wood multipolygon and add it to the wood relation. Or in other words: Separate the relations by making them consist of individual ways. Sharing the same ways leads to the same geometry, a different geometry is only possible by using individual ways.
(11 Jan '15, 14:38)
scai ♦
1
Okay, got it. I understand now. It's still going to be quite a task and I might defer it until I have enough time to finish all I want to do. I will simplify those multipolygons as I go so the next person who comes along won't have to deal with the multiple use problem. Thanks very much.
(12 Jan '15, 00:38)
AlaskaDave
|
I've covered something similar to this as part of the Irish Townland mapping project. This section of the tutorial video should show you what to do https://www.youtube.com/watch?v=WG6Po8SmweE&feature=youtu.be&t=16m55s answered 11 Jan '15, 11:36 DaCor I can already do what you show in your otherwise helpful video. In your example, you have a single relation with no others "on top" of it. In my situation I have 7 relations using the same way. Short of deleting a multipolygon and starting from scratch, something I'm never going to do, how can I separate the wood polygon of interest from the others before modifying it?
(11 Jan '15, 13:59)
AlaskaDave
You can only separate them by removing ways and adding new ones, as shown in DaCor's video tutorial and described in my answer. These relations are only "bound" together because they share the same ways, to fix this you have to make them use individual ways instead.
(11 Jan '15, 14:30)
scai ♦
|
That is the disadvantage when mappers combine objects where they shouldn't.
IMHO you should remove the boundary way from the wood polygons and either create one from the boundary separate way both wood MPs do share or one way per wood MP as scai explains