Modify

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#2191 closed enhancement (worksforme)

Validator plugin should check for double nodes in way

Reported by: Anonymus Owned by:
Priority: minor 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 Changed 4 years ago by anonymous

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

comment:2 Changed 4 years ago by xeen

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 Changed 4 years ago by xeen

  • Resolution set to worksforme
  • Status changed from new to closed

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 Changed 4 years ago by anonymous

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

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.