On 01.03.2011 21:30, Steve Ratcliffe wrote:
Hello
Are you sure about the second and third change?
They take effect and increase the file size always - even when the
--merge-lines option is not given.
..Steve
Okay, rechecked it. Only the first line should be checked. There is no
visible difference adding the two further lines, but it is true that the
map gets much bigger then (as on resolution 24 the cleanlinefilter -
whatever it does I do not know - is not working).
So just check in the change of the merge-lines to 22. Because that does
make merge-lines usable.
Just for convenience I attached the patch again this time really how it
should be.
Index: uk/me/parabola/mkgmap/build/MapBuilder.java
===================================================================
--- uk/me/parabola/mkgmap/build/MapBuilder.java (revision 1871)
+++ uk/me/parabola/mkgmap/build/MapBuilder.java (working copy)
@@ -876,7 +876,7 @@
//TODO: Maybe this is the wrong place to do merging.
// Maybe more efficient if merging before creating subdivisions.
- if (mergeLines && res < 24) {
+ if (mergeLines && res < 22) {
LineMergeFilter merger = new LineMergeFilter();
lines = merger.merge(lines);
}
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev