[mkgmap-dev] Error building sea map
From Ronny Klier ronny.klier at s1999.tu-chemnitz.de on Sat Dec 19 17:36:40 GMT 2009
Am 20:59, schrieb Carlos Dávila: > I'm trying to build a sea-only map for Spain to combine it later with my > routeable map. What I've done is: > 1-Download natural=coastline ways for the desired bbox [1]. > 2-Edit downloaded osm file in JOSM and close the land polygon in the > North. I used segments of some 60 km for that. I can put resulting file > on my site if anyone wants to download it. > 3-Run mkgmap with the following options: > java -Xmx500m -enableassertions -jar mkgmap.jar --generate-sea > --latin1 --code-page=1252 --description="Costa Iberia" > --family-name="Open Street Map" --family-id=20 --product-id=320 > --series-name="OSM-Iberia-costa" --mapname=63240100 --tdbfile > --style=sea --draw-priority=28 --transparent > /home/carlos/JOSM/costa_peninsula.osm > And I get the error below: > java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 > at java.util.ArrayList.RangeCheck(ArrayList.java:547) > at java.util.ArrayList.get(ArrayList.java:322) > at > uk.me.parabola.mkgmap.reader.osm.xml.Osm5XmlHandler.concatenateWays(Osm5XmlHandler.java:1332) > at > Does anyone know what is the problem? > [1] wget > http://osmxapi.hypercube.telascience.org/api/0.6/way%5Bnatural=coastline%5D%5Bbbox=-9.66796875,35.947265625,4.36,43.9453125%5D > -O costa_peninsula.osm > > > There seems to be a way tagged as coastline without any points. This is not checked before accessing the points of this way. As a workaround you may find and remove the way from input data. Ronny
- Previous message: [mkgmap-dev] Error building sea map
- Next message: [mkgmap-dev] Error building sea map
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list