deniska, looks good, some requests:
GPSFSV1 to be GPSFSV01, to fill the char[8] fully
basezoom to be 8 bytes, and to support negative zooms
filetype to be 8 bytes as well
if x and/or y are negative interpret as coords.txt missing
Actually - can all of them, except the first char[8], (IDXn's too - or is there a reason for strings?) just be signed Int64's so there is no need to mess about with conversion/signed/unsigned, and the max values are high enough anyway? (making the first 64 bytes the file definition)
To preserve the ability to re-download missing tiles, and make it easier for myself (and to easily implement simultaneous tile downloads in the future) I'll probably add this as a converter for the existing map folders (with a suffix _/. GPSFS - GFS would probably be a bad choice
I assume this replaces coords.txt and the Nx zoom folders, while still living inside a _MAP_NAME folder together with POI and icon files? Or will the POI and icon files become applicable to all maps now, living in /poi/ rather than /maps/_MAP_NAME/? - either way has its advantages I guess. (maybe /maps/ /poi/ /icons/ breakdown? and /directions/ too?)
Let me know if this is ok, or what you settle on, and I'll have a go at creating a sample map tomorrow over lunch.
Bookmarks