mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-02 08:25:40 +02:00
Fix narrowing of index_size (#126)
Fix narrowing of index_size, affecting indexed flatgeobufs with lots of features [#125]
This commit is contained in:
+1
-1
@@ -368,7 +368,7 @@ void parse_flatgeobuf(std::vector<struct serialization_state> *sst, const char *
|
|||||||
auto h_geometry_type = header->geometry_type();
|
auto h_geometry_type = header->geometry_type();
|
||||||
|
|
||||||
long long feature_sequence_id = -1;
|
long long feature_sequence_id = -1;
|
||||||
int index_size = 0;
|
long long index_size = 0;
|
||||||
if (node_size > 0) {
|
if (node_size > 0) {
|
||||||
if (!quiet) {
|
if (!quiet) {
|
||||||
fprintf(stderr, "detected indexed FlatGeobuf: assigning feature IDs by sequence\n");
|
fprintf(stderr, "detected indexed FlatGeobuf: assigning feature IDs by sequence\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user