mirror of
https://github.com/mapbox/tippecanoe.git
synced 2025-02-23 18:40:17 +00:00
Remove an unused field from the index structure
This commit is contained in:
parent
4b171c74b7
commit
be94bd0dd5
6
Makefile
6
Makefile
@ -10,6 +10,8 @@ vector_tile.pb.cc vector_tile.pb.h: vector_tile.proto
|
||||
|
||||
PG=
|
||||
|
||||
H = $(shell find . '(' -name '*.h' -o -name '*.hh' ')')
|
||||
|
||||
tippecanoe: geojson.o jsonpull.o vector_tile.pb.o tile.o clip.o pool.o mbtiles.o geometry.o projection.o
|
||||
g++ $(PG) -O3 -g -Wall -o $@ $^ -lm -lz -lprotobuf-lite -lsqlite3
|
||||
|
||||
@ -23,10 +25,10 @@ libjsonpull.a: jsonpull.o
|
||||
ar rc $@ $^
|
||||
ranlib $@
|
||||
|
||||
%.o: %.c
|
||||
%.o: %.c $(H)
|
||||
cc $(PG) -O3 -g -Wall -c $<
|
||||
|
||||
%.o: %.cc
|
||||
%.o: %.cc $(H)
|
||||
g++ $(PG) -O3 -g -Wall -c $<
|
||||
|
||||
clean:
|
||||
|
2
tile.h
2
tile.h
@ -20,8 +20,6 @@ struct pool_val *deserialize_string(char **f, struct pool *p, int type);
|
||||
struct index {
|
||||
unsigned long long index;
|
||||
long long fpos;
|
||||
|
||||
struct index *next;
|
||||
};
|
||||
|
||||
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user