mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-05 09:55:41 +02:00
Move attribute include/exclude logic into serialization
This commit is contained in:
+1
-5
@@ -11,10 +11,6 @@
|
||||
|
||||
struct parse_json_args {
|
||||
json_pull *jp;
|
||||
std::set<std::string> *exclude;
|
||||
std::set<std::string> *include;
|
||||
int exclude_all;
|
||||
int basezoom;
|
||||
int layer;
|
||||
std::string *layername;
|
||||
std::map<std::string, int> const *attribute_types;
|
||||
@@ -26,7 +22,7 @@ struct parse_json_args {
|
||||
struct json_pull *json_begin_map(char *map, long long len);
|
||||
void json_end_map(struct json_pull *jp);
|
||||
|
||||
void parse_json(struct serialization_state *sst, json_pull *jp, std::set<std::string> *exclude, std::set<std::string> *include, int exclude_all, int basezoom, int layer, std::string layername, std::map<std::string, int> const *attribute_types);
|
||||
void parse_json(struct serialization_state *sst, json_pull *jp, int layer, std::string layername, std::map<std::string, int> const *attribute_types);
|
||||
void *run_parse_json(void *v);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user