Mark Burton wrote:
> Hi Felix,
>
> Many thanks for taking the time to try that patch.
>
> Your results are interesting because I don't see those issues with
> the maps I am testing.
>
> So, please tell me for the examples you sent, what mapsource zoom
> level are those images shown at (i.e. what is the scale distance in the
> corner of the image) and also what is the OSM URL for the second
> location (B18 + railway) because I haven't been able to locate that one.
>
> Cheers,
>
> Mark
>
Well I just discovered that my decreasing of douglas peucker algorithm
from 2.6 to 1.3 might have been responsible.
I just kicked that out (using only your fill-line patch) and fewer holes
than before. I will try again the round coordinates patch without my
changes to douglas peucker algorithm.
Attached the douglas peucker filter patch that I had been using, maybe
they were responsible for the problems?
Actually using Filter_Distance = 5.4: could be working even better - the
straighter the line - the less holes (I just don't know whether 5.4
wouldn't be so much, that when using your GPS far zoomed out you have
the problem of driving besides the street instead of on the street (like
when using the GPS inbuilt basemap).
The other reason could be that the "double line" is defined via typfile
to be out of center
Index: src/uk/me/parabola/mkgmap/build/MapBuilder.java
===================================================================
--- src/uk/me/parabola/mkgmap/build/MapBuilder.java (revision 1379)
+++ src/uk/me/parabola/mkgmap/build/MapBuilder.java (working copy)
@@ -110,7 +110,7 @@
private boolean poiAddresses = true;
private int poiDisplayFlags;
private boolean sortRoads = true;
- private static final double FILTER_DISTANCE = 2.6;
+ private static final double FILTER_DISTANCE = 1.3;
private boolean enableLineCleanFilters = true;
private boolean makePOIIndex = false;
private int routeCenterBoundaryType = 0;
Index: src/uk/me/parabola/mkgmap/osmstyle/ActionRule.java
> _______________________________________________
> mkgmap-dev mailing list
> [email protected]
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev