Modify

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#2191 closed enhancement (worksforme)

Validator plugin should check for double nodes in way

Reported by: anonymous Owned by:
Priority: minor Milestone:
Component: Core validator Version:
Keywords: Cc:

Description

Some ways in the database contains consecutive points with the same coordinates.
E.g.

<way id='30050726' timestamp='2009-02-09T09:19:14+00:00' user='rso4x4' visible='true'>

<nd ref='343628914' />
<nd ref='343628914' />
<nd ref='343628914' />
<nd ref='343628914' />
<nd ref='343628914' />
<nd ref='343628914' />
<nd ref='343628915' />
<nd ref='343628916' />
<nd ref='343628917' />
<nd ref='343628914' />
<nd ref='330980693' />
<nd ref='330980694' />
<nd ref='330980696' />
<tag k='created_by' v='Potlatch 0.10f' />
<tag k='highway' v='residential' />
<tag k='name' v='Sankt-Sebastian-Straße' />

</way>

This will be reported by the mkgmap tool as:
Way has zero length segment at 48.35356/11.09488

Is it possible that the validator plugin checks for this error, so that it is seen and possibly resolved at edit time?

Attachments (0)

Change History (4)

comment:1 by anonymous, 15 years ago

I'm pretty sure there is already a check for this.

comment:2 by xeen, 15 years ago

At least in the prefs it says "Duplicated Way Nodes" which should check (at least from the wording) exactly what you are asking for.

Please make sure this option is checked in the prefs and check if it works for you.

comment:3 by xeen, 15 years ago

Resolution: worksforme
Status: newclosed

Tested and it reports the errors for me. I did not fix the issue so you can check, too. Please re-open if you still have problems.

comment:4 by anonymous, 15 years ago

Ok, I've checked too, it works perfectly as it should. Sorry for my fault.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.