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

2013-08-25 Thread Steve Brophy
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

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

2013-08-27 Thread Steve Ratcliffe
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 >

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

2013-08-27 Thread Henning Scholland
-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

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

2013-09-03 Thread Steve Ratcliffe
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

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

2013-09-03 Thread Steve Ratcliffe
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.

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

2013-09-03 Thread Steve Brophy
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

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

2013-09-04 Thread Steve Brophy
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

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

2013-09-04 Thread Steve Ratcliffe
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

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

2013-09-05 Thread Steve Brophy
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