SPELL=splitter VERSION=r200 SOURCE="${SPELL}-${VERSION}-src.tar.gz" SOURCE_URL[0]=http://www.mkgmap.org.uk/${SPELL}/${SOURCE} SOURCE_HASH=sha512:4257d2eb7a1cced4a263e38f84111f3758df6d94120f785f53069f7704102945ddba07b7e7ec8d6eb00e873e8a1005f05a10b6f9334d1f7f8cd572e3d350fce5 SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}" WEB_SITE="http://www.mkgmap.org.uk/page/tile-splitter" LICENSE[0]=GPL ENTERED=20120929 SHORT="a splitter for openstreetmap data" cat << EOF The format used for Garmin maps has, in effect, a maximum size, meaning that you have to split an .osm file that contains large well mapped regions into a number of smaller tiles. This program does that. There are two stages of processing required. The first stage is to calculate what area each tile should cover, based on the distribution of nodes. The second stage writes out the nodes, ways and relations from the original .osm file into separate smaller .osm files, one for each area that was calculated in stage one. EOF