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

Ability to resize a selected area #3372

Closed
Codain opened this issue Aug 22, 2016 · 9 comments · Fixed by #8012
Closed

Ability to resize a selected area #3372

Codain opened this issue Aug 22, 2016 · 9 comments · Fixed by #8012
Assignees
Labels
new-feature A new feature for iD operation An editing operation / edit menu item
Milestone

Comments

@Codain
Copy link

Codain commented Aug 22, 2016

When an area is selected, add the ability to resize the object.

This would be especially useful after pasting an area with the same shape but not the same size.

@bhousel
Copy link
Member

bhousel commented Aug 24, 2016

Well, I'll just copy and paste my other comment..

Yes, this is definitely possible. Transform/Resize is a tool that people are accustomed to seeing, from working with other vector drawing tools. This is not a priority for iD, but I'll leave this open as a "maybe someday".

@bhousel bhousel added enhancement operation An editing operation / edit menu item labels Aug 24, 2016
@pnorman
Copy link
Contributor

pnorman commented Aug 25, 2016

Duplicate of #1793, implemented and rejected in #1802

@ianp5a
Copy link

ianp5a commented Aug 31, 2016

I have this need in the Missing Maps Project where we have thousands of houses that must be drawn.
Many of these buildings are rectangular. And have different sizes and proportions.
We require:
Scaling: Enlargement or shrinking in all directions equally.
Stretch: Resize the selected object in a single direction.
This direction could be horizontal or vertical as you find in drawing and presentation programs.
But often a simple rectangle (house) that is at an angle, needs to be stretched along its own axis.
Usually drawing programs display "handles" on the object, which can be dragged to define the amount.

Note: Today, if the outline is close to the intended shape, people tend not to bother to change the size manually by moving the nodes. And potentially mess up their shape. The Resize tool will encourage people to be more accurate, as it requires fewer clicks and does not require as much exactness as moving nodes does.

@althio
Copy link
Contributor

althio commented Aug 31, 2016

@ianp5a There is work in progress for that I think #2699

@bhousel bhousel added considering Not Actionable - still considering if this is something we want and removed enhancement labels Nov 1, 2016
@slhh
Copy link
Contributor

slhh commented Nov 4, 2016

I don't see a real usecase of scaling existing objects, but in case of copying objects scaling could be useful. Some keys could have a special function in order to scale, rotate, or flip the copied object in the period between pressing Ctrl-V and placing the copied object by mouse click.

In case of a scale function for existing objects the risk of damaging data seems to be much higher than the benefit, but limiting it to the copy and paste process avoids the risk.

@Codain
Copy link
Author

Codain commented Nov 5, 2016

Thank you all for your support on that one!

I don't see a real usecase of scaling existing objects, but in case of copying objects scaling could be useful.

Yes copying and pasting is one of the main reason to have this feature. Drawing a circle is cumbersome (even if it's already simplified), dupplicating an existing one and scaling it would be much more porwerfull (somes areas in the world have circular farm fields, storage tanks are often in groups but with various sizes...).

In case of a scale function for existing objects the risk of damaging data seems to be much higher than the benefit

Then do we also have to remove the translation ?! Between moving all nodes of a closed shape one by one and scaling the whole shape, I don't see any risk. On the contrary it will keep the overhaul shape consistent.

@bhousel bhousel added the bluesky Bluesky issues are extra challenging - this might take a while or be impossible label Dec 19, 2016
@72ChevelleSS
Copy link

Almost 3 years since this one was brought up. Any possibility of this being implemented for iD?

@quincylvania
Copy link
Collaborator

@72ChevelleSS No active progress at the moment, but we'd like to add it eventually!

@quincylvania quincylvania removed bluesky Bluesky issues are extra challenging - this might take a while or be impossible considering Not Actionable - still considering if this is something we want labels Sep 21, 2020
@quincylvania
Copy link
Collaborator

We've continued to receive requests for this, particularly from HOT building mappers.

While a full scale/transform tool would be tricky to get right, I think we can start out with hotkeys. Advanced mappers can use them and everyone else can ignore them. While this doesn't serve non-keyboard mappers, something is better than nothing.

Having done #7186 and #7976, we've developed a system where arrow keys are for panning, plus and minus are for zooming, holding Shift affects the selection instead of the map, and holding Alt amplifies the effect. We can enable selection scaling by filling in the missing corner of the matrix.

Arrow Keys Plus/Minus Keys
Pan map Zoom map
Alt Pan map by a lot Zoom map by a lot
Shift Move selection *Scale selection
Shift + Alt Move selection by a lot *Scale selection by a lot

*Proposed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-feature A new feature for iD operation An editing operation / edit menu item
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants