#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 , 16 years ago
comment:2 by , 16 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 , 16 years ago
Resolution: | → worksforme |
---|---|
Status: | new → 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 by , 16 years ago
Ok, I've checked too, it works perfectly as it should. Sorry for my fault.
I'm pretty sure there is already a check for this.