-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cut away from area cuts away also lines #2293
Comments
It even happens on lines without any area: CutAwayFromLines.mp4CutAwayFromLines2.mp4 |
I'll write what users don't like to read. That's why I was shielded from customers by two levels of trained support personnel. ;-) The program works perfectly fine. There is almost no distinction between an area and a line object on the data level. The visual difference is caused by the choice of symbol. So, Mapper considers the line object as an area where the line ends are connected with a straight segment. And then magic happens. Choose multiple lines. The first one is the one that will lose the parts there it overlaps with the other selected lines or areas. Yes, if the lines are contours or paths, it's a problem for the map content. Matthias takes the example to a new level by presenting a self-intersecting area (mimicking as a line) and showing that the area falls apart in the process. That's indeed surprising but not that much given that we may argue that a self-intersecting area is not a valid object. I acknowledge that this kind of argumentation is like saying that a chainsaw works perfectly fine when its saw chain cuts away lumberjack's leg in an instant. That's a clear indication that the device does that's it's supposed to do - cut anything it touches regardless if it's a plant or a human. So for practical use, I agree with Aleš that some safety measure should be implemented. Disallowing cut-away operation on objects dressed in a line symbol might be a good one. Another one might be exclusion of areas that lack a closed border or intersect itself. |
Thanks for the explainer Libor!
This would solve the mentioned use case best. It would stop contours accidentaly turning into strange objects:
This behaviour also applies to Intersect areas and Area XOr. |
Another observation:
Is there some kind of logic to it? |
Steps to reproduce
Actual behaviour
I realized this "bug" existed after finding strange shaped contours on a map. I was editing a sprint map - adding paved areas over private areas and using Cut away from area at the end. I accidentally also included contours into the mix...
Expected behaviour
I suggest Cut away from area cuts only areas.
If needed there shall be a separate tool Cut away from lines (but I am not sure what that would serve).
Configuration
Mapper Version: 0.9.5
Android
The text was updated successfully, but these errors were encountered: