logo separator

[mkgmap-dev] removeShortArcs_v4.patch for regression in r2448

From GerdP gpetermann_muenchen at hotmail.com on Sun Feb 3 23:24:28 GMT 2013

Hi Steve,

good catch :-)
I see that this happes for exactly the subdivision that is reported to
contain
errors. So you are right, for non-routable ways we have to check that.

I will work on this tomorrow.

Gerd


Steve Ratcliffe wrote
> Hi Gerd
> 
>> the errors reported by NetCheck occurs in ~ 50% of my input files (DACH).
>> I don't think that it is a special case in the OSM data.
> 
> Quite by accident, I found a tile that failed the NetCheck test
> from Jan 2011 and version r1773. So the problem has existed for
> a long time - although it was very rare with that version - I
> found only one tile.
> 
> I am still guessing, but in LinePreparer we throw away lines that
> have less than two (or three if a polygon) points that have different
> coordinates - so lines that have a zero length (or polygons that don't
> have an area).
> 
> This is probably far too late and may mean that pointers
> are left pointing to the wrong thing.
> 
> If this is the problem, then we do need to remove any zero length line.
> The remove short arc code will do this, but perhaps for non-roads all
> we need is a quick check for zero length lines.
> 
> ..Steve
> 
> _______________________________________________
> mkgmap-dev mailing list

> mkgmap-dev at .org

> http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev





--
View this message in context: http://gis.19327.n5.nabble.com/removeShortArcs-v4-patch-for-regression-in-r2448-tp5747776p5747950.html
Sent from the Mkgmap Development mailing list archive at Nabble.com.


More information about the mkgmap-dev mailing list