I have been replacing my use of base-style with 'include' statements and
encountered a problem using eg 'include "points" from default;'. When I do
this, mkgmap reports that it can't find 'inc/address' , which is included
in the default style points file. It turns out that mkgmap is looking for
it
Hi
> I have been replacing my use of base-style with 'include' statements and
> encountered a problem using eg 'include "points" from default;'. When I
> do this, mkgmap reports that it can't find 'inc/address' , which is
> included in the default style points file. It turns out that mkgmap is
>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Steve,
an easy solution could be adding a second code-word eg. include_default.
Henning
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.20 (MingW32)
iQEcBAEBAgAGBQJSHOBfAAoJEPFgsWC7jOeTiwMIAOjbAnnarnM8EA6XyHeeOf8i
UaJ3P7Ai23PY7WJxfv+V4cUcEIhRIMa
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
I've no idea if it will fix the other problem you observed. If the
problem was rel
On 03/09/13 21:57, Steve Brophy wrote:
I get the following exception when I tried:
java.lang.IllegalStateException: zip file closed
Ooops, second attempt attached.
Pre-built: http://files.mkgmap.org.uk/download/150/mkgmap.jar
..Steve
Index: src/uk/me/parabola/mkgmap/osmstyle/StyleFileLoader.
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
I tested this, and it fixed the problem of including from the wrong place.
Also I saw no repeat of the other errors reported.
Thanks,
Steve
On 3 September 2013 22:14, Steve Ratcliffe wrote:
> On 03/09/13 21:57, Steve Brophy wrote:
>
>> I get the following exception when I tried:
>>
>> java.la
On 04/09/13 08:13, Steve Brophy wrote:
I tested this, and it fixed the problem of including from the wrong
place. Also I saw no repeat of the other errors reported.
Thanks for testing, that is all good news.
For completeness I am attaching a revised version of the patch which
removes all the
Steve,
The revised version also works.
Steve
On 4 September 2013 12:40, Steve Ratcliffe wrote:
> On 04/09/13 08:13, Steve Brophy wrote:
>
>> I tested this, and it fixed the problem of including from the wrong
>> place. Also I saw no repeat of the other errors reported.
>>
>
> Thanks for testi