logo separator

[mkgmap-dev] error compiling the map

From maning sambale emmanuel.sambale at gmail.com on Thu Mar 18 08:38:05 GMT 2010

I got the error when I added, this in the polygon styles:
amenity=fuel [0x08 resolution 18]

The purpose is to enable to search fuel polygons as a POI.

Removing this line completes the compilation.

On Thu, Mar 18, 2010 at 4:18 PM, maning sambale
<emmanuel.sambale at gmail.com> wrote:
> I got this error recently:
> time java -Xmx1512m -jar mkgmap.jar --read-config=args.list philippines.osm
> java.lang.NullPointerException
>        at uk.me.parabola.mkgmap.osmstyle.RuleFileReader.isIndexable(RuleFileReader.java:234)
>        at uk.me.parabola.mkgmap.osmstyle.RuleFileReader.isSolved(RuleFileReader.java:242)
>        at uk.me.parabola.mkgmap.osmstyle.RuleFileReader.isFinished(RuleFileReader.java:254)
>        at uk.me.parabola.mkgmap.osmstyle.RuleFileReader.rearrangeExpression(RuleFileReader.java:134)
>        at uk.me.parabola.mkgmap.osmstyle.RuleFileReader.saveRule(RuleFileReader.java:115)
>        at uk.me.parabola.mkgmap.osmstyle.RuleFileReader.load(RuleFileReader.java:94)
>        at uk.me.parabola.mkgmap.osmstyle.RuleFileReader.load(RuleFileReader.java:70)
>        at uk.me.parabola.mkgmap.osmstyle.StyleImpl.readRules(StyleImpl.java:252)
>        at uk.me.parabola.mkgmap.osmstyle.StyleImpl.<init>(StyleImpl.java:138)
>        at uk.me.parabola.mkgmap.reader.osm.xml.Osm5MapDataSource.createStyler(Osm5MapDataSource.java:120)
>        at uk.me.parabola.mkgmap.reader.osm.xml.Osm5MapDataSource.load(Osm5MapDataSource.java:80)
>        at uk.me.parabola.mkgmap.main.MapMaker.loadFromFile(MapMaker.java:148)
>        at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:56)
>        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:886)
>        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>        at java.lang.Thread.run(Thread.java:619)
>
>
> my args.list
> code-page=1252
> ea
> tdbfile
> latin1
> country-abbr=PHI
> country-name=PHILIPPINES
> remove-short-arcs=5
> route
> road-name-pois
> add-pois-to-areas
> family-id=639
> family-name=OSM_PHIL
> overview-mapname=40000001
> series-name=OSM_PHIL
> description=OSM_PHIL
> style-file=/home/maning/Downloads/osm/routable_garmin/svn/styles/osm-ph
> generate-sea=polygons
> index
> adjust-turn-headings
>
> mkgmap version 1598
>
> --
> cheers,
> maning
> ------------------------------------------------------
> "Freedom is still the most radical idea of all" -N.Branden
> wiki: http://esambale.wikispaces.com/
> blog: http://epsg4253.wordpress.com/
> ------------------------------------------------------
>



-- 
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