Modify

Opened 4 years ago

Closed 4 years ago

#3205 closed defect (fixed)

[PATCH] arange orthogonal not working

Reported by: MichaelK_OSM@… Owned by: dmuecke
Priority: minor Component: Core
Version: latest Keywords:
Cc:

Description

Hello,

I think this is plugin issue but I'm not shure which one is causing the problem.
On my user page (http://wiki.openstreetmap.org/wiki/User:MichaelK#Software_used_for_OSM) you can find all the plugings I have installed.
I use German language settings, so the description in English is a litte bit difficult => I'll add the german information too.

System: WinXP, JOSM 1788, plugins: "up to date by about August 1st" and appropriate to JOSM1788

Pproblem:
I use the function to make objects orthogonal within tools (Werkzeug | Form rechtwinklig machen). The function complained about "Bitte Funktion mit nahezu rechten Winkeln zum rechtwinklig machen auswählen".

My action:
In my case I was updating a big bilding which has some ways connected to: adding more details (additional corners due to availability of better aerial imagery).

What I found out: (preanalysis)
the problem are the nodes which connected the ways to that building.

Work around:

  • select the node which connects the way to the building
  • tools | seperate ways (Werkzeug | Wege trennen)
  • remove the node which belongs to the building
  • make the building orthogonal
  • tools | add node to way (Werkzeug | Knoten in Weg einfügen)

=> very uncomfortable and long way to go... :-(

How to reproduce:

  • draw a rectangle with 4 nodes
  • add an additional node in one of the sides
  • select the rectangle
  • select tools | ???make rectangleous ??? (Werkzeug | Form rechtwinklig machen)

=> the error message appears (Bitte Funktion mit nahezu rechten Winkeln zum rechtwinklig machen auswählen.)

Idea for a fix (improvement)

  • if a node with ways of of an angle of about 180 degree is detected, the function should make the ways at this node to 180 degree (new).
  • if a node with ways of of an angle of about 90 or 270 degree is detected, the function should make the ways at this node to 90 or 270 degree (like already OK).

Benefit for the user:
also shapes with additional nodes in the lines can be processed withought big effort.

If you have additional questions (or maybe need a tester for the fix) feel free to contact me via MichaelK_OSM@….

Best regrads,
Michael.

Attachments (1)

ortho.txt (6.4 KB) - added by dmuecke 4 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 4 years ago by Gubaer

  • Component changed from Plugin to Core

OrthogonalizeAction is an action in the core, as far as I can see -> chaning to component core.

Idea for a fix (improvement) - if a node with ways of of an angle of about 180 degree is detected, the function should make the ways at this node to 180 degree (new).

This sounds reasonable. I stumbled across this warning myself when I was "mass procuding" houses in my home town but I didn't dig into it so far.

comment:2 Changed 4 years ago by dmuecke

  • Owner changed from team to dmuecke
  • Status changed from new to assigned

Changed 4 years ago by dmuecke

comment:3 Changed 4 years ago by dmuecke

  • Summary changed from arange orthogonal not working to [PATCH] arange orthogonal not working

Should be working now.

comment:4 Changed 4 years ago by stoecker

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [2014]) fixed #3205 - patch by dmuecke - arrange orthogonal not working

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed .
as The resolution will be set. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.