Thorsten Kukuk wrote

No, there is no limit for the maximum tiles size for now. Thanks for the
hint.
What is the limit? I guess it is not a constant, but depends on
resolution
and other
values? Unfortunately the test data is gone and I didn't download it.

If you want to look at the problem, I can try to regenerate the
data again.

I am not sure if the problem has to be solved in splitter or in mkgmap.
Anyway, please try to reproduce it.
I also like to know why mkgmap has problems with tiles that contain only
very few nodes. Or is it the gps device that has problems?

Gerd

I played a little bit with a small testfile how large a tile can be. The attached test file has the maximum size which works for me:
 <bounds minlat="0.0" minlon="0.0" maxlat="85.0" maxlon="179.98"/>
Larger bounds cannot be put into a single tile.

For large tiles mkgmap requires much memory problem if the bounds parameter is set. They need to be completely loaded with a high memory consumption.

I don't know if there is a hard limit for the tile bounds size. Maybe using some limits in splitter for the maximum latitude and maximum longitude size would remove some problems, e.g. max lat = 20, max long = 20.

WanMil

<?xml version="1.0" encoding="UTF-8"?>
<osm version="0.6" generator="CGImap 0.0.2" copyright="OpenStreetMap and contributors" attribution="http://www.openstreetmap.org/copyright"; license="http://opendatacommons.org/licenses/odbl/1-0/";>
 <bounds minlat="0.0" minlon="0.0" maxlat="85.0" maxlon="179.98"/>
 <node id="1" lat="0" lon="0" user="test" uid="1" visible="true" version="1" changeset="1" timestamp="2009-12-16T14:38:32Z"/>
 <node id="2" lat="85.0" lon="0" user="test" uid="1" visible="true" version="1" changeset="1" timestamp="2009-12-16T14:38:32Z"/>
 <node id="3" lat="85.0" lon="179.98" user="test" uid="1" visible="true" version="1" changeset="1" timestamp="2009-12-16T14:38:32Z"/>
 <node id="4" lat="0" lon="179.98" user="test" uid="1" visible="true" version="1" changeset="1" timestamp="2009-12-16T14:38:32Z"/>
 <way id="100" user="test" uid="1" visible="true" version="1" changeset="1" timestamp="2009-12-16T14:38:32Z">
  <nd ref="1"/>
  <nd ref="2"/>
  <nd ref="3"/>
  <nd ref="4"/>
  <nd ref="1"/>
  <tag k="natural" v="wood"/>
 </way>
</osm>
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to