OpenStreetMap Forum

The Free Wiki World Map

You are not logged in.

Announcement

A fix has been applied to the login system for the forums - if you have trouble logging in please contact support@openstreetmap.org with both your forum username and your OpenStreetMap username so we can make sure your accounts are properly linked.

#1 2017-06-12 10:36:51

pezza10
Member
Registered: 2016-12-28
Posts: 30

JOSM:concentric shapes

Is it possible in JOSM? and i'm referring also to irregular shapes

Because if i try to scale an irregular shape it doesn't became concentric.

I think you know what i'm talking about - when you scale an irregular shape(object) it isn't exactly the same shape as original,it's slightly deformed

Last edited by pezza10 (2017-06-12 10:41:49)

Offline

#2 2017-06-12 18:54:37

Klumbumbus
Member
Registered: 2014-01-12
Posts: 419
Website

Re: JOSM:concentric shapes

you can use copy -> paste at source position -> ctrl + shift + left mouse button

or parallel way mode:  https://josm.openstreetmap.de/wiki/Help/Action/Parallel

Offline

#3 2017-06-12 20:00:29

pezza10
Member
Registered: 2016-12-28
Posts: 30

Re: JOSM:concentric shapes

Parallel way mode it's working perfectly.First i was afraid that i couldn't control the scale of that new parallel way.
You have to hold ctrl + left mouse button while you drag and than you can scale it any size.

Thanks it's working now! cool


you can use copy -> paste at source position -> ctrl + shift + left mouse button

isnt'it ctrl + alt +v ?

Last edited by pezza10 (2017-06-12 20:01:41)

Offline

#4 2017-06-12 21:17:43

Klumbumbus
Member
Registered: 2014-01-12
Posts: 419
Website

Re: JOSM:concentric shapes

pezza10 wrote:

Parallel way mode it's working perfectly.First i was afraid that i couldn't control the scale of that new parallel way.
You have to hold ctrl + left mouse button while you drag and than you can scale it any size.

Thanks it's working now! cool


you can use copy -> paste at source position -> ctrl + shift + left mouse button

isnt'it ctrl + alt +v ?

You are mixing it up.

What I wrote are two different posibilities.

The first one by performing several steps (copy and paste the original way and then scale the new way with "ctrl + shift + hold down left mouse button + move mouse up/down")

ctrl + alt +v is the shortcut for "paste a source position". (https://josm.openstreetmap.de/wiki/Help … cePosition)



And the second one by parallel way mode. (See the link in my first post how to use it.)

Offline

#5 2017-06-12 21:35:14

pezza10
Member
Registered: 2016-12-28
Posts: 30

Re: JOSM:concentric shapes

Yes i knew that are two different posibilities,i didn't mix it up.

but i misunderstood what you said,in your first reply,that shortcut for "paste at source position" is ctrl + shift + left mouse button

you can use copy -> paste at source position -> ctrl + shift + left mouse button

you said ctrl + shift + left mouse button was in fact for parallel way,now i see it

and for the second possibility that with parallel way mode i did like it says on wiki page:after you are in the parallel way mode(shift+p) you select the way,hold left mouse button and drag.But like i said thus i cannot control the scale of the way(object);it scales only to certain sizes.
You said that you have to hold ctrl+shift+lmb and drag the mouse up/down but for me it's working only if i hold down just the ctrl key +lmb while dragging the mouse

Anyway,it's working ,thank you

Last edited by pezza10 (2017-06-12 21:40:34)

Offline

#6 2017-06-12 22:05:27

pezza10
Member
Registered: 2016-12-28
Posts: 30

Re: JOSM:concentric shapes

Sorry,it's not working for me,look what i got if i scale it more

4MIzBTT

http://imgur.com/4MIzBTT

the outside way is the original one and the inside way is the one that i scaled in parallel way mode

is there anything i can do?

Last edited by pezza10 (2017-06-12 22:12:57)

Offline

#7 2017-06-12 23:11:55

Klumbumbus
Member
Registered: 2014-01-12
Posts: 419
Website

Re: JOSM:concentric shapes

OK by default parallel way mode uses defined steps. with ctrl holding down you can freely adjust. Thats right.

However "ctrl + shift + lmb + move" is for scaling (resizing) objects, not for parallel way mode.

Anyway, you just made the parallel way too far away from the original way in relatin to the size of the original way. In your case the new way intersects itself and the mode can't work properly anymore.

Slowly use the parallel way mode back and forth and observe the movement of single nodes to see how this mode works and how this turns out in such extreme cases like you showed. Maybe you can avoid these corner cases or manually rework the new way. E.g. by removing the two nodes on the sides which produce the spikes.

Offline

#8 2017-06-13 08:03:18

pezza10
Member
Registered: 2016-12-28
Posts: 30

Re: JOSM:concentric shapes

Slowly use the parallel way mode back and forth and observe the movement of single nodes to see how this mode works and how this turns out in such extreme cases like you showed. Maybe you can avoid these corner cases or manually rework the new way. E.g. by removing the two nodes on the sides which produce the spikes.

Yes,i was thinking about that.

I sort it out somehow;First i was extruding the straight line of the shape in order to not intersect with the shape itself.Then after i scale down the shape i removed the points which would go outside the shape,like this:

http://imgur.com/a/UNEdu

Then i would extrude back the straight lines,and bring forward/down the shapes to be more close to each other,in that part of the arcs,which in fact i'm interested in:

http://imgur.com/a/6aYNt

It's not perfect but it's working for me.Thanks for your help!

Offline

Board footer

Powered by FluxBB