
Hi Andrzej, I'll try to reproduce the problem. Please provide details regarding the splitter options, the poly file, and the densities-out.txt written by splitter. Gerd popej wrote
Hi,
I'm trying to compile a map of USA using North America extract form Geofabrik. I use splitter r427 with bounding polygon, something like that:
splitter --polygon-file=usa.poly ... north-america-latest.osm.pbf
The result is that I get errors in mkgmap: SEVERE (MapFailedException): pbf\29729241.osm.pbf: (thrown in BufferedImgFileWriter.ensureSize()) 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.
This error appears for some tiles at the map border.
My guess is, that splitter uses only nodes inside bounding poly to compute tiles sizes. When a rectangular tile is placed on a polygon border, estimated node number could be significantly smaller than the full number actually saved in this tile. This could lead to problems as above.
I don't have any suggestions for a solution, so I'm going to try to go around it using a simplified poly. I hope, that maybe someone could get an idea how to correct it.
-- Best regards, Andrzej _______________________________________________ mkgmap-dev mailing list
mkgmap-dev@.org
-- View this message in context: http://gis.19327.n5.nabble.com/problem-with-splitter-and-bounding-polygon-tp... Sent from the Mkgmap Development mailing list archive at Nabble.com.