
Moin, I would like to use splitter to cut tiles matching to my SRTM-tiles using the --split-file option, but I am not sure about the format of the area list. The list file generated by splitter looks like 63240001: 1583104,-1261568 to 2338816,-348160 # : 33.969727,-27.070313 to 50.185547,-7.470703 First line is the split command? What do the numbers mean? The second line is a comment-line? If I specify an area list, will splitter still check for max-nodes, or will the tiles be cut as specified? Gruss Torsten

Hallo Torsten, On Tue, Mar 17, 2009 at 04:34:08PM +0100, Torsten Leistikow wrote:
I would like to use splitter to cut tiles matching to my SRTM-tiles using the --split-file option, but I am not sure about the format of the area list. The list file generated by splitter looks like
63240001: 1583104,-1261568 to 2338816,-348160 # : 33.969727,-27.070313 to 50.185547,-7.470703
First line is the split command? What do the numbers mean?
The first number is the name of the map tile. (Garmin map tiles are named with numbers, and mkgmap uses 63240001 as the default name.) The remaining numbers are the map coordinates. The comment line shows them in degrees (north of the equator and east of the Greenwich meridian). If you divide the larger numbers by about 1/46604, you will get the degrees.
The second line is a comment-line?
All lines starting with # appear to be ignored.
If I specify an area list, will splitter still check for max-nodes, or will the tiles be cut as specified?
It seems so. I have prepared a map of Finland at http://www.polkupyoraily.net/osm/ last week. That is why I know. :-) Marko

On Mar 17, 2009, at 16:41, Marko Mäkelä wrote:
On Tue, Mar 17, 2009 at 04:34:08PM +0100, Torsten Leistikow wrote:
63240001: 1583104,-1261568 to 2338816,-348160 # : 33.969727,-27.070313 to 50.185547,-7.470703
First line is the split command? What do the numbers mean?
The remaining numbers are the map coordinates. The comment line shows them in degrees (north of the equator and east of the Greenwich meridian). If you divide the larger numbers by about 1/46604, you will get the degrees.
Right. The numbers are in map units, which is 360º/2**24. Note that the above coordinates are multiples of 2**11 which improves how tiles match up at low zoom levels -- you may want to round to the nearest multiple of 2**11. Cheers Robert

Torsten Leistikow wrote:
I would like to use splitter to cut tiles matching to my SRTM-tiles using the --split-file option
I'm not so sure if this a good idea in the first place. I tried this for my south Germany hiking map. Soon I realized that there are densely populated flat areas (lots of OSM data, little SRTM data) and sparsely populated mountains (few OSM data, lots of SRTM data). That's why you need small SRTM tiles in different places than small OSM tiles.

Ralf Kleineisel schrieb:
Torsten Leistikow wrote:
I would like to use splitter to cut tiles matching to my SRTM-tiles using the --split-file option
I'm not so sure if this a good idea in the first place. I tried this for my south Germany hiking map. Soon I realized that there are densely populated flat areas (lots of OSM data, little SRTM data) and sparsely populated mountains (few OSM data, lots of SRTM data). That's why you need small SRTM tiles in different places than small OSM tiles.
In principle yes, but a) I like to merge the OSM data and the SRTM data while they are still osm-files, so that each garmin map tile combines both data sets. Then I have them together visible in mapsource. b) I want to cut from the weekly europe.osm file the area I am interested in. Therefor I also need to specify the boundary for the cutting. There are also others tools for such task, but I am using splitter anyway. Gruss Torsten
participants (4)
-
Marko Mäkelä
-
Ralf Kleineisel
-
Robert Vollmert
-
Torsten Leistikow