mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-05 18:05:42 +02:00
Extra printfs, missing header
This commit is contained in:
+1
-1
@@ -2,6 +2,7 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <unordered_map>
|
#include <unordered_map>
|
||||||
|
#include <functional>
|
||||||
#include "mvt.hpp"
|
#include "mvt.hpp"
|
||||||
#include "evaluator.hpp"
|
#include "evaluator.hpp"
|
||||||
#include "errors.hpp"
|
#include "errors.hpp"
|
||||||
@@ -378,7 +379,6 @@ static int eval(std::function<mvt_value(std::string const &)> feature, json_obje
|
|||||||
|
|
||||||
int cmp = compare_fsl(ff, f->value.array.array[2], fail);
|
int cmp = compare_fsl(ff, f->value.array.array[2], fail);
|
||||||
if (fail) {
|
if (fail) {
|
||||||
printf("cast fail\n");
|
|
||||||
return -1; // null
|
return -1; // null
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1594,7 +1594,6 @@ serial_feature next_feature(decompressor *geoms, std::atomic<long long> *geompos
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (filter != NULL) {
|
if (filter != NULL) {
|
||||||
printf("%s\n", json_stringify(filter));
|
|
||||||
std::unordered_map<std::string, mvt_value> attributes;
|
std::unordered_map<std::string, mvt_value> attributes;
|
||||||
std::string layername = (*layer_unmaps)[sf.segment][sf.layer];
|
std::string layername = (*layer_unmaps)[sf.segment][sf.layer];
|
||||||
std::set<std::string> exclude_attributes;
|
std::set<std::string> exclude_attributes;
|
||||||
|
|||||||
Reference in New Issue
Block a user