logo separator

[mkgmap-dev] mkgmap r1688 regression

From maning sambale emmanuel.sambale at gmail.com on Thu Sep 16 08:43:08 BST 2010

I believe this was fixed with r1692, from the changeset comment:

Version 1692 was commited by steve on 2010-09-15 12:25:41 +0100 (Wed,
15 Sep 2010)

Fix bug in constructing jar file introduced in 1688.

Causes problem like:
java.lang.IllegalArgumentException: InputStream cannot be null
       at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:117)
       at uk.me.parabola.mkgmap.build.LocatorConfig.loadConfig(LocatorConfig.java:70)
       at uk.me.parabola.mkgmap.build.LocatorConfig.<init>(LocatorConfig.java:47)

On Thu, Sep 16, 2010 at 8:46 AM, Dmitry Marakasov <amdmi3 at amdmi3.ru> wrote:
> Hi!
>
> I've been using r1625 for some time and it worked pretty well. Recenly,
> however, I've found out r1688 was released and tried it out - it died on
> the same data r1625 worked fine with.
>
> Here's the data: http://gis-lab.info/data/osm/mosobl/mosobl.osm.bz2
>
> Here's how I run it and what happens:
>
> ---
> mkgmap  --gmapsupp \
>        --country-name=RUSSIA \
>        --country-abbr=RUS \
>        --charset=windows-1251 \
>        --code-page=1251 \
>        --draw-priority=40 \
>        --lower-case \
>        --route --drive-on-right \
>        mosobl.osm
> SEVERE (RoadNetwork): /pool/osm/mosobl-100906.osm: Road (http://www.openstreetmap.org/browse/way/63154562) contains zero length arc at http://www.openstreetmap.org/?mlat=55.73010&mlon=37.62594&zoom=17
> SEVERE (RoadNetwork): /pool/osm/mosobl-100906.osm: Road (http://www.openstreetmap.org/browse/way/68767049) contains zero length arc at http://www.openstreetmap.org/?mlat=55.44124&mlon=37.49284&zoom=17
> SEVERE (RoadNetwork): /pool/osm/mosobl-100906.osm: Road (http://www.openstreetmap.org/browse/way/64682647) contains zero length arc at http://www.openstreetmap.org/?mlat=55.81767&mlon=37.82732&zoom=17
> SEVERE (RoadNetwork): /pool/osm/mosobl-100906.osm: Road (http://www.openstreetmap.org/browse/way/33854110) contains zero length arc at http://www.openstreetmap.org/?mlat=55.72693&mlon=37.41379&zoom=17
> ...
> [a bunch of similar lines - these happened with 1625 as well]
> ...
> SEVERE (RoadNetwork): /pool/osm/mosobl-100906.osm: Road (http://www.openstreetmap.org/browse/way/71554133) contains zero length arc at http://www.openstreetmap.org/?mlat=57.04320&mlon=37.59828&zoom=17
> SEVERE (RoadNetwork): /pool/osm/mosobl-100906.osm: Road (http://www.openstreetmap.org/browse/way/27706268) contains zero length arc at http://www.openstreetmap.org/?mlat=55.82280&mlon=37.58899&zoom=17
> java.lang.IllegalArgumentException: InputStream cannot be null
>        at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:120)
>        at uk.me.parabola.mkgmap.build.LocatorConfig.loadConfig(LocatorConfig.java:70)
>        at uk.me.parabola.mkgmap.build.LocatorConfig.<init>(LocatorConfig.java:47)
>        at uk.me.parabola.mkgmap.build.Locator.<init>(Locator.java:68)
>        at uk.me.parabola.mkgmap.build.MapBuilder.<init>(MapBuilder.java:101)
>        at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:92)
>        at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:61)
>        at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:189)
>        at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:186)
>        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
>        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
>        at java.lang.Thread.run(Thread.java:619)
> ---
>
> gmapsupp.img, however, is generated and seems to be useable.
>
> Also, it'd be nice to have a changelog - I could not find a word on
> what's changed from 1625 to 1688.
>
> --
> Dmitry Marakasov   .   55B5 0596 FF1E 8D84 5F56  9510 D35A 80DD F9D2 F77D
> amdmi3 at amdmi3.ru  ..:  jabber: amdmi3 at jabber.ru    http://www.amdmi3.ru
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>



-- 
cheers,
maning
------------------------------------------------------
"Freedom is still the most radical idea of all" -N.Branden
wiki: http://esambale.wikispaces.com/
blog: http://epsg4253.wordpress.com/
------------------------------------------------------



More information about the mkgmap-dev mailing list