
Hello, I am using Mkgmap 2141. I would like to create a map including the landuse (like the previous style). I am trying to include the "landuse" sub-style, but I am failing for now : * In /mkgmap-r2141/examples/styles/default/info I have added the landuse sub-style : base-style=contours_ft # base-style=location base-style=landuse base-style=waters * I am running Mkgmap with the option --style-file=examples/styles/default/ to be sure that I am using the style I have just modified. * I get the error : at uk.me.parabola.mkgmap.osmstyle.StyleImpl.<init>(StyleImpl.java:140) at uk.me.parabola.mkgmap.osmstyle.StyleImpl.readBaseStyle(StyleImpl.java:518) And no map is created. Could someone say me what I am doing wrong ? Thanks a lot in advance ! -- Frédéric Bonifas +33672652807 skype:fredericbonifas

On Fri, Dec 23, 2011 at 02:11:38PM +0100, Frédéric Bonifas wrote:
Could someone say me what I am doing wrong ?
An educated guess: mkgmap is searching substyles in the wrong directory. Does it work if you copy the "location" style to a subdirectory next to your own style definition? Sorry, I have not been able to spend time on mkgmap development lately. I still intend to split the default style further. Best regards, Marko

Im afraid this doesn't work Marko, I have the same problems as Frederic, even if I dont adapt anything to the default style and just copy the files from mkgmap-r2140/examples/styles (btw a lot of styles are missing there). Marko wrote: On Fri, Dec 23, 2011 at 02:11:38PM +0100, Frédéric Bonifas wrote:
Could someone say me what I am doing wrong ?
An educated guess: mkgmap is searching substyles in the wrong directory. Does it work if you copy the "location" style to a subdirectory next to your own style definition? Sorry, I have not been able to spend time on mkgmap development lately. I still intend to split the default style further. Best regards, Marko

On Fri, Dec 23, 2011 at 03:41:03PM +0100, Minko wrote:
Im afraid this doesn't work Marko, I have the same problems as Frederic, even if I dont adapt anything to the default style and just copy the files from mkgmap-r2140/examples/styles (btw a lot of styles are missing there).
Thanks, Minko. So, it seems to me that mkgmap should check the mkgmap.jar file for styles that the base-style directive cannot find otherwise. What is missing or buggy is some sort of search path functionality. Best regards, Marko
participants (3)
-
Frédéric Bonifas
-
Marko Mäkelä
-
Minko