On 22/03/11 00:44, Bartosz Fabianowski wrote:
I made a fresh map, just to make sure there absolutely no cruft left
anywhere. I used the newest italy.osm.pbf this time and the following
mkgmap options:

Thanks, I have seen some strangeness with it, although not clear if it is quite what you are seeing. I have a Legend, which I believe is very similar to the Vista.

From your first message, it seemed like you had problems with just a single tile. If so it would be to have that or indeed the smallest map that shows the problem.

I have an idea what it might be, could you try the attached patch?

..Steve
Index: src/uk/me/parabola/imgfmt/app/net/NETFile.java
===================================================================
--- src/uk/me/parabola/imgfmt/app/net/NETFile.java	(revision 1870)
+++ src/uk/me/parabola/imgfmt/app/net/NETFile.java	(revision )
@@ -71,8 +71,7 @@
 				Label[] l = rd.getLabels();
 				for(int i = 0; i < l.length && l[i] != null; ++i) {
 					if(l[i].getLength() != 0) {
-						String cleanName = l[i].getTextSansGarminCodes();
-						SortKey<LabeledRoadDef> sortKey = sort.createSortKey(new LabeledRoadDef(l[i], rd), cleanName);
+						SortKey<LabeledRoadDef> sortKey = sort.createSortKey(new LabeledRoadDef(l[i], rd), l[i].getText());
 						sortKeys.add(sortKey);
 					}
 				}
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to