Skip to content
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

replacing a building while keeping history in fairness (important) #23

Open
a-pirard opened this issue Aug 9, 2016 · 8 comments
Open

Comments

@a-pirard
Copy link

a-pirard commented Aug 9, 2016

This is requesting to use AreaSelector without fear of being unfair.
It's often much quicker to make a new building with AS than to modify a badly mapped one.
This is a suggestion for doing it easily while fairly keeping the history of former contributors.
Possible suggestion:
1: while Ctrl held down in OK dialog, or by other means, cursor temporarily switches to Select mode
2. doing so, the user adds the old, bad way to the selection
3. then he clicks an "OK & Replace Geometry" button and AS calls Tools>Replace Geometry just after finishing the way.

That's all there is for fairness and avoiding a lot of clicking.

BTW, the same process of selecting a second way can be used to implement a "Pick other way's tags" button.
It could be used to continue adding buildings with the same tags as a partially mapped street.
Or to pick City and Post Code of an other street.

TIA !!!

@r00tat
Copy link
Contributor

r00tat commented Nov 12, 2016

What should happen with the preexisting tags, should they be copied to the new building?

@a-pirard
Copy link
Author

On 2016-11-12 09:46, Paul wrote:

What should happen with the preexisting tags, should they be copied to
the new building?

Paul,

Try Replace Geometry
https://wiki.openstreetmap.org/wiki/JOSM/Plugins/utilsplugin2#Replace_geometry_.28Ctrl.2BShift.2BG.29.
It merges the tags and, when there is a conflict, you will see it pop a
dialog for the user to choose which tags to merge and containing red
dots for the conflicts.

What I am suggesting is just to help the mapper use RG because he can't
use it while AS is running. He must 1) remember all the building he's
made with AS in this session (if he forgets one and closes the session,
the RG feature is lost) 2) select both ways two by two and click RG.

The improvement is just: after AS has selected its new way and set its
tags, let the user select the old way and then let AS call RG.
I let you figure the most comfortable way to do that.

Cheers

André.

r00tat added a commit that referenced this issue Jul 14, 2017
r00tat added a commit that referenced this issue Jul 14, 2017
@r00tat
Copy link
Contributor

r00tat commented Jul 18, 2017

implemented with 2.4.0.

If you click near to an existing wall it will try to replace the existing building, instead of create a new one. Let me know, if this is a suitable solution for you.

@a-pirard
Copy link
Author

a-pirard commented Jul 19, 2017 via email

@r00tat
Copy link
Contributor

r00tat commented Jul 19, 2017 via email

@a-pirard
Copy link
Author

a-pirard commented Jul 20, 2017 via email

@r00tat
Copy link
Contributor

r00tat commented Jul 28, 2017

I fixed #28.

I implemented Areaselector to automatically try to find the existing building, because always switching between tools is not so a nice usability.

If Areaselector should replace an existing building, which was previously selected, I would have to write a new Action because they can't be combined in one.

@a-pirard
Copy link
Author

a-pirard commented Jul 29, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants