logo separator

[mkgmap-dev] Use of ' include "points" from default; ' in custom style file

From Steve Brophy steve.brophy at gmail.com on Tue Sep 3 21:57:34 BST 2013

Hi Steve,

I get the following exception when I tried:

java.lang.IllegalStateException: zip file closed
        at java.util.zip.ZipFile.ensureOpen(Unknown Source)
        at java.util.zip.ZipFile.getEntry(Unknown Source)
        at java.util.jar.JarFile.getEntry(Unknown Source)
        at sun.net.www.protocol.jar.URLJarFile.getEntry(Unknown Source)
        at java.util.jar.JarFile.getJarEntry(Unknown Source)
        at
uk.me.parabola.mkgmap.osmstyle.JarFileLoader.open(JarFileLoader.java:
123)
        at
uk.me.parabola.mkgmap.osmstyle.RuleFileReader.loadFile(RuleFileReader
.java:91)
        at
uk.me.parabola.mkgmap.osmstyle.RuleFileReader.checkCommand(RuleFileRe
ader.java:184)
        at
uk.me.parabola.mkgmap.osmstyle.RuleFileReader.loadFile(RuleFileReader
.java:101)
        at
uk.me.parabola.mkgmap.osmstyle.RuleFileReader.checkCommand(RuleFileRe
ader.java:184)
        at
uk.me.parabola.mkgmap.osmstyle.RuleFileReader.loadFile(RuleFileReader
.java:101)
        at
uk.me.parabola.mkgmap.osmstyle.RuleFileReader.load(RuleFileReader.jav
a:82)
        at
uk.me.parabola.mkgmap.osmstyle.StyleImpl.readRules(StyleImpl.java:302
)
        at
uk.me.parabola.mkgmap.osmstyle.StyleImpl.<init>(StyleImpl.java:160)
        at
uk.me.parabola.mkgmap.osmstyle.StyleImpl.readStyle(StyleImpl.java:554
)
        at
uk.me.parabola.mkgmap.reader.osm.RelationStyleHook.init(RelationStyle
Hook.java:33)
        at
uk.me.parabola.mkgmap.reader.osm.OsmMapDataSource.pluginChain(OsmMapD
ataSource.java:185)
        at
uk.me.parabola.mkgmap.reader.osm.OsmMapDataSource.setupHandler(OsmMap
DataSource.java:153)
        at
uk.me.parabola.mkgmap.reader.osm.o5m.O5mBinMapDataSource.load(O5mBinM
apDataSource.java:43)
        at
uk.me.parabola.mkgmap.reader.osm.OsmMapDataSource.load(OsmMapDataSour
ce.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$Sync.innerRun(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
Source)
        at java.lang.Thread.run(Unknown Source)
Exiting - if you want to carry on regardless, use the --keep-going option
Time finished: Tue Sep 03 21:53:36 BST 2013
Total time taken: 2214ms


On 3 September 2013 21:42, Steve Ratcliffe <steve at parabola.me.uk> wrote:

>
> Hi
>
> Here is a patch so that 'include ... from default' should now work.
>
> It is quite an extensive patch so worth testing by everyone.
>
> A pre-built one is here:
>   http://files.mkgmap.org.uk/**download/149/mkgmap.jar<http://files.mkgmap.org.uk/download/149/mkgmap.jar>
>
> I've no idea if it will fix the other problem you observed. If the problem
> was related to the number of open files, then it might.
>
> ..Steve
>
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20130903/1bd751a4/attachment-0001.html 


More information about the mkgmap-dev mailing list