Error for particular lake in Portugal

Hi! Trying to build a map of Portugal and Spain, I encountered an error with a particular lake in portugal with a very complex outline. I tried it with different parameter sets, but the error is persistent and always along the border of this lake. Did this occur with other maps, too? Any ideas on how to handle this? The exception is: SCHWERWIEGEND (MapSplitter): p:\Daten\Spanien_-0082_0382_10_5_garmin.osm.gz: Area too small to split at http://www.openstreetmap.org/?mlat=38.26888&mlon=-7.51441&zoom=17 (reduce the density of points, length of lines, etc.) uk.me.parabola.imgfmt.MapFailedException: There is not enough room in a single garmin map for all the input data The .osm file should be split into smaller pieces first. at uk.me.parabola.imgfmt.app.BufferedImgFileWriter.ensureSize(BufferedImgFileWriter.java:192) at uk.me.parabola.imgfmt.app.BufferedImgFileWriter.put(BufferedImgFileWriter.java:160) at uk.me.parabola.imgfmt.app.trergn.Polyline.write(Polyline.java:148) at uk.me.parabola.imgfmt.app.trergn.RGNFile.addMapObject(RGNFile.java:140) at uk.me.parabola.imgfmt.app.map.Map.addMapObject(Map.java:241) at uk.me.parabola.mkgmap.build.MapBuilder$ShapeAddFilter.doFilter(MapBuilder.java:1074) at uk.me.parabola.mkgmap.build.LayerFilterChain.doFilter(LayerFilterChain.java:57) at uk.me.parabola.mkgmap.filters.RemoveEmpty.doFilter(RemoveEmpty.java:61) at uk.me.parabola.mkgmap.build.LayerFilterChain.doFilter(LayerFilterChain.java:57) at uk.me.parabola.mkgmap.filters.PolygonSplitterFilter.doFilter(PolygonSplitterFilter.java:57) at uk.me.parabola.mkgmap.build.LayerFilterChain.doFilter(LayerFilterChain.java:57) at uk.me.parabola.mkgmap.build.LayerFilterChain.startFilter(LayerFilterChain.java:75) at uk.me.parabola.mkgmap.build.MapBuilder.processShapes(MapBuilder.java:943) at uk.me.parabola.mkgmap.build.MapBuilder.makeSubdivision(MapBuilder.java:650) at uk.me.parabola.mkgmap.build.MapBuilder.makeMapAreas(MapBuilder.java:584) at uk.me.parabola.mkgmap.build.MapBuilder.makeMap(MapBuilder.java:195) at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:97) at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:61) -- View this message in context: http://gis.638310.n2.nabble.com/Error-for-particular-lake-in-Portugal-tp6341... Sent from the Mkgmap Development mailing list archive at Nabble.com.

El 08/05/11 11:41, NopMap escribió:
Hi!
Trying to build a map of Portugal and Spain, I encountered an error with a particular lake in portugal with a very complex outline. I tried it with different parameter sets, but the error is persistent and always along the border of this lake. Did this occur with other maps, too? Any ideas on how to handle this?
The exception is:
SCHWERWIEGEND (MapSplitter): p:\Daten\Spanien_-0082_0382_10_5_garmin.osm.gz: Area too small to split at http://www.openstreetmap.org/?mlat=38.26888&mlon=-7.51441&zoom=17 (reduce the density of points, length of lines, etc.) uk.me.parabola.imgfmt.MapFailedException: There is not enough room in a single garmin map for all the input data The .osm file should be split into smaller pieces first. According to the above message, you should split input data in smaller tiles. I build map of Spain+Portugal regularly and don't have this problem. Attached is my current areas.list. Note I remove corine data with osmosis before split.

I have just read a report by another user who got the same error message. In my case the object in question was a large and very compilcated lake with 1000+ nodes. In his case it was a large forest polygon. Is there a limit to the maximum size of a polyline that mkgmap/garmin format can handle, even if the node density of the area is low otherwise? bye Nop -- View this message in context: http://gis.638310.n2.nabble.com/Error-for-particular-lake-in-Portugal-tp6341... Sent from the Mkgmap Development mailing list archive at Nabble.com.
participants (2)
-
Carlos Dávila
-
NopMap