OpenStreetMap Forum

The Free Wiki World Map

You are not logged in.

#1 2011-06-21 19:19:17

TheFive
Member
Registered: 2009-05-03
Posts: 1,566
Website

Potlatch Is Generating Circles Several Times Round

Hi,

this thread is the summary of the german Thread
http://forum.openstreetmap.org/viewtopi … 47#p172747

The current potlach version is generating sometimes circles, that goes several times round.
In Potlatch you have to zoom to  very high level to see this, so user are generating the circle and saving it, without any doubt in in correctness.

Here are all examples i have collected, the version before I (TheFive) edited it will be the wrong one.

http://www.openstreetmap.org/browse/way … 33/history
http://www.openstreetmap.org/browse/way/113696703
http://www.openstreetmap.org/browse/way/110774480 (this one goes 6 times round !)
http://www.openstreetmap.org/browse/way/110756325
http://www.openstreetmap.org/browse/way/4310432
http://www.openstreetmap.org/browse/way/5209478
http://www.openstreetmap.org/browse/way/26408094
http://www.openstreetmap.org/browse/way/24242468


For Potlatch 1 i found in trac:
http://trac.openstreetmap.org/ticket/2489 (18 month old, but sounds similar)


An unmaintained List of bugs helds a similar bug
http://wiki.openstreetmap.org/wiki/Potl … oing_crazy

I have opened a ticket in trac for Potlatch 2
http://trac.openstreetmap.org/ticket/3786

I have written down a short help of fixing that error
http://wiki.openstreetmap.org/wiki/DE:F … _Kreise.29
this help contains some screenshots of this error in OSM Inspector and JOSM.


I have asked some Mapper, how they produced that error, but what they told sounds totally normal.
"Draw a quadrate and use the make circular function".

I have no really idea how to reproduce this error, as i do not use potlatch. My simple try did not work.


In the german forum the question occurred, simply to skip the make circular function from the front page.

This sounds plausible to me,
a) The nice drawed roundabouts are only relevant in high zoom mode.
b) the wrong mapped circles will result in crazy routings i believe, so this error is relevant in many use cases, not only in high zoom mode.
   the problem potlatch generating here seems bigger to me than the win in high zoom mode in nice circles.
c) As Potlatch users arn't able to see this error, they won't go fixing it by themselves, all users have to wait, that this error is found by a mapper in OSMI.

Offline

#2 2011-06-21 20:15:17

TheFive
Member
Registered: 2009-05-03
Posts: 1,566
Website

Re: Potlatch Is Generating Circles Several Times Round

Here is a circle i wont repair, as no routing is effected:

http://www.openstreetmap.org/browse/way/36747683

As this is the 3rd version that is wrong, is it possible to retract the second one with the nodes at that time
and try to reproduce this error ?

Last edited by TheFive (2011-06-21 20:22:38)

Offline

#3 2011-06-22 06:52:13

TheFive
Member
Registered: 2009-05-03
Posts: 1,566
Website

Re: Potlatch Is Generating Circles Several Times Round

i have extracted the earlier version of this circle (http://www.openstreetmap.org/browse/way/36747683)

<?xml version='1.0' encoding='UTF-8'?>
<osm version='0.6' generator='JOSM'>
  <node id='-86' action='modify' timestamp='2009-06-21T00:56:04Z' uid='63966' user='MysticFire' visible='true' version='2' lat='49.629729900000015' lon='9.674762300000001' />
  <node id='-85' action='modify' timestamp='2009-06-21T00:56:04Z' uid='63966' user='MysticFire' visible='true' version='2' lat='49.62975809999999' lon='9.6747275' />
  <node id='-84' action='modify' timestamp='2009-06-21T00:56:04Z' uid='63966' user='MysticFire' visible='true' version='2' lat='49.6298004' lon='9.6747209' />
  <node id='-83' action='modify' timestamp='2009-06-21T00:56:04Z' uid='63966' user='MysticFire' visible='true' version='2' lat='49.629834299999985' lon='9.674749099999998' />
  <node id='-82' action='modify' timestamp='2009-06-21T00:56:04Z' uid='63966' user='MysticFire' visible='true' version='2' lat='49.62985209999998' lon='9.674789600000002' />
  <node id='-81' action='modify' timestamp='2009-06-21T00:56:04Z' uid='63966' user='MysticFire' visible='true' version='2' lat='49.62984459999999' lon='9.6748742' />
  <node id='-80' action='modify' timestamp='2009-06-21T00:56:04Z' uid='63966' user='MysticFire' visible='true' version='2' lat='49.629827699999986' lon='9.6748949' />
  <node id='-79' action='modify' timestamp='2009-06-21T00:56:04Z' uid='63966' user='MysticFire' visible='true' version='2' lat='49.62976749999999' lon='9.674911800000002' />
  <node id='-78' action='modify' timestamp='2009-06-21T00:56:04Z' uid='63966' user='MysticFire' visible='true' version='2' lat='49.62974309999999' lon='9.6748826' />
  <node id='-77' action='modify' timestamp='2009-06-21T00:56:04Z' uid='63966' user='MysticFire' visible='true' version='2' lat='49.62972899999998' lon='9.674847799999998' />
  <node id='-76' action='modify' timestamp='2009-06-21T00:56:04Z' uid='63966' user='MysticFire' visible='true' version='2' lat='49.629725200000024' lon='9.674784899999999' />
  <way id='-75' action='modify' timestamp='2010-02-03T09:23:05Z' uid='225882' user='TGoe' visible='true' version='4'>
    <nd ref='-76' />
    <nd ref='-77' />
    <nd ref='-78' />
    <nd ref='-79' />
    <nd ref='-80' />
    <nd ref='-81' />
    <nd ref='-82' />
    <nd ref='-83' />
    <nd ref='-84' />
    <nd ref='-85' />
    <nd ref='-86' />
    <nd ref='-76' />
    <tag k='note' v='potlatch error' />
    <tag k='test' v='yes' />
  </way>
  <way id='36747683' action='delete' timestamp='2010-02-03T09:23:05Z' uid='225882' user='TGoe' visible='true' version='4' changeset='3781578'>
    <tag k='test' v='yes' />
  </way>
</osm>

i did some modifications and copying not to destroy original data.

You can open this textfile with JOSM upload it to osm and try make circular with potlatch. but this not worked (may be i have moved the circle before, and so it is not reproducable).

Is there a test environment, where everyone can do potlatch tests, without "enriching" original Data ?

Last edited by TheFive (2011-06-22 06:52:37)

Offline

#4 2011-06-25 19:30:50

TheFive
Member
Registered: 2009-05-03
Posts: 1,566
Website

Re: Potlatch Is Generating Circles Several Times Round

just to collect further circles:
http://www.openstreetmap.org/browse/way/104504467

Offline

#5 2011-09-06 10:06:00

Peter W34
Member
From: Brisbane
Registered: 2011-09-06
Posts: 2

Re: Potlatch Is Generating Circles Several Times Round

Hi,
If the roundabout is poorly drawn before using the circle tool, more than one circle will be produced, also after using the tool, if the streets connected to the roundabout are moved around the circle, then the circle tool used a second time, this will produce the bug. I only found that there was a problem in the last week when I started using OSM inspector. The bug can be seen in Potlatch if you no what to look for. The arrows will have multiple heads.

Offline

#6 2011-09-06 16:39:50

Mark_S
Member
Registered: 2009-04-27
Posts: 31

Re: Potlatch Is Generating Circles Several Times Round

I've been running Gary68's self intersecting ways script on parts of the UK and I've seen a number of these cropping up.  I've fixed about 10 in the last day or two but a quick scan of a couple of the reports for other parts of the UK suggest there are more out there.   At least I know where they are coming from now.

Offline

#7 2011-09-06 17:06:08

Richard
Member
From: Charlbury, UK
Registered: 2007-04-24
Posts: 361
Website

Re: Potlatch Is Generating Circles Several Times Round

If you can define "poorly drawn" in more detail and add that detail to the trac ticket, we can have a look at it. Unfortunately as yet no-one has provided sufficient steps to reproduce.

Offline

#8 2011-09-06 18:22:41

Mark_S
Member
Registered: 2009-04-27
Posts: 31

Re: Potlatch Is Generating Circles Several Times Round

After playing around I can consistently reproduce on a couple of roundabouts so I've added some information to Trac (first time on Trac so I hope it is right).  Broadly it looks to me if you have a roundabout with a node that is incorrectly placed such that the roundabout goes back on itself then multiple circles are created.

Going back on itself seems to depend on latitude / longitude point of view, so moving a node sufficiently out of the initial "circle" means that improving the circle causes potlatch to draw multiple circles.

I'd guess it initially goes wrong because a node is accidentally dragged to the wrong place in the initial roundabout.  A user then clicks circle to fix this and get everything back into a circle (seems a logical thing to do to me) which results in something that looks better but is actually worse.

Offline

#9 2011-09-06 21:45:01

chris66
Member
From: Germany
Registered: 2009-05-24
Posts: 9,390

Re: Potlatch Is Generating Circles Several Times Round

Hi,
this are the steps to produce multi-circles in P2:

1) draw a square
2) select the square and hit the 'make circle' button
3) shift 2 point like this:

8148719gxf.png

4) select the line and hit the 'make circle' button

result (14 loops):

8147078abu.jpg

(Not always 14 loops, but that's my record wink )

Last edited by chris66 (2011-09-06 21:49:12)


Mapper aus dem Münsterland/NRW. Nicht auf fakebook.

Offline

Board footer

Powered by FluxBB