mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-04 01:15:41 +02:00
Move feature type to index so point skipping can avoid looking up geometry
Which should avoid having to page the geometry in if there is more data than will fit in memory
This commit is contained in:
@@ -19,8 +19,9 @@ struct pool_val *deserialize_string(char **f, struct pool *p, int type);
|
||||
|
||||
struct index {
|
||||
unsigned long long index;
|
||||
long long fpos : 56;
|
||||
long long fpos : 48;
|
||||
int maxzoom : 8;
|
||||
int type : 8;
|
||||
};
|
||||
|
||||
long long write_tile(struct index *start, struct index *end, char *metabase, unsigned *file_bbox, int z, unsigned x, unsigned y, int detail, int basezoom, struct pool *file_keys, char *layername, sqlite3 *outdb, double droprate, int buffer);
|
||||
|
||||
Reference in New Issue
Block a user