[mkgmap-dev] mergeroads branch
From WanMil wmgcnfg at web.de on Sun Sep 15 18:07:34 BST 2013
Thanks! I've comitted a fix. WanMil > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Am 08.09.2013 14:01, schrieb WanMil: > Hi > >> * Instead of using hardcoded rules for maxspeed it is now possible >> to control that via style file. Set the mkgmap:road-speed-class tag >> to the desired class value (0 to 7) and use the new functions >> maxspeedkmh() and maxspeedmph() to parse the maxspeed tag. > > I've made a test with this style rules, but with a enabled > inc/roadspeed i got this error > > java.lang.AssertionError: value is null > at uk.me.parabola.mkgmap.reader.osm.Tags.put(Tags.java:73) > at > uk.me.parabola.mkgmap.reader.osm.Element.addTag(Element.java:44) > at > uk.me.parabola.mkgmap.osmstyle.function.CachedFunction.value(CachedFunction.java:62) > at > uk.me.parabola.mkgmap.osmstyle.eval.NumericOp.eval(NumericOp.java:47) > at uk.me.parabola.mkgmap.osmstyle.eval.AndOp.eval(AndOp.java:34) > at > uk.me.parabola.mkgmap.osmstyle.ActionRule.resolveType(ActionRule.java:59) > at > uk.me.parabola.mkgmap.osmstyle.RuleSet.resolveType(RuleSet.java:68) > at > uk.me.parabola.mkgmap.osmstyle.StyledConverter.convertWay(StyledConverter.java:214) > at > uk.me.parabola.mkgmap.reader.osm.ElementSaver.convert(ElementSaver.java:239) > at > uk.me.parabola.mkgmap.reader.osm.o5m.O5mBinMapDataSource.load(O5mBinMapDataSource.java:53) > at > uk.me.parabola.mkgmap.reader.osm.OsmMapDataSource.load(OsmMapDataSource.java:127) > at > uk.me.parabola.mkgmap.main.MapMaker.loadFromFile(MapMaker.java:167) > at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:63) > at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:243) > at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:239) > at java.util.concurrent.FutureTask.run(FutureTask.java:262) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:724) > > This happened with most, but not all, tiles created from splitter, > 30 of 32 tiles around Bonn + 100 km, print out this error, 2 tiles are ok > > Maybe i forgot to delete some of my old rules, but i can't find anything > > Bernd > > > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.19 (GNU/Linux) > > iEYEARECAAYFAlI0a5gACgkQwCMdlf933K+NlQCgkOg+DD1UiE7kl2ynXAzaIn8t > VpQAoJqefMrGn1tSo0Yn2szIL63UyUz+ > =hTz1 > -----END PGP SIGNATURE----- > _______________________________________________ > mkgmap-dev mailing list > mkgmap-dev at lists.mkgmap.org.uk > http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev >
- Previous message: [mkgmap-dev] mergeroads branch
- Next message: [mkgmap-dev] mergeroads branch
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list