New archive file format (was: [omgps] collect feature requests)
mqy
meng.qingyou at gmail.com
Thu Jul 2 06:44:22 CEST 2009
Thumb up for your effort:)
A simpler design choice would be:
1. int get_tile_meta(int zoom, int x, int y, TileMeta *tm) -- fill in
<offset>, <size>; return -1 if tile not found
-- implemented by collecting per map meta info into a sqlite database
2. int get_tile_bytes(char* buf, TileMeta *tm) -- read tile content into
<buf> of <size>
-- implemented by collecting tiles into a big file.
Where TileMeta is defined as:
struct TileMeta
{
int offset;
int size;
U4 crc;
char *name; // optional
};
This kind of data source is abstracted as a tile provider, in addition to
the default standard file system based one.
I'd like to see if xar works well too.
regards,
mqy
Laszlo KREKACS wrote:
>
> Hi!
>
> I have studied all the available archive and compression options.
> ...
> Best regards,
> Laszlo
> ...
>
--
View this message in context: http://n2.nabble.com/New-archive-file-format-%28was%3A--omgps--collect-feature-requests%29-tp3191899p3193471.html
Sent from the Openmoko Community mailing list archive at Nabble.com.
More information about the community
mailing list