I've finally found the time to clean up and check in a couple of changes to the splitter that have been in the pipeline for a while:
- Improved command line handling. Now provides usage instructions, error messages when invalid parameters are specified, and it is easier to maintain the code. - Tiles can be named based on the area they cover. To use this, download one of the cities files from http://download.geonames.org/export/dump/ and point to it with --geonames-file=cities<xxx>.zip. The splitter will then try to name each tile sensibly based on the biggest city in the tile. No doubt this logic can be improved in the future but it's hopefully still quite useful as it stands. There is one compatibility issue that I know of with the new command line parsing code. Builds prior to r95 supported both --mapid and --mapname for specifying the map ID. The new code doesn't support multiple names for the same parameter so only --mapid will work now. If you are using --mapname in any scripts/tools, please change this to use --mapid. Or alternatively, if that's problematic then please complain and I'll consider adding support for --mapname back in. Sorry for any inconvenience this change might cause you. Chris _______________________________________________ mkgmap-dev mailing list [email protected] http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
