Use the same GeoJSON parsing loop in tippecanoe-json-tool

This commit is contained in:
Eric Fischer
2018-08-08 13:11:25 -07:00
parent 79363e397b
commit ba8966a4ae
4 changed files with 40 additions and 70 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
struct json_feature_action {
std::string fname;
virtual int add_feature(json_object *geometry, json_object *properties, json_object *id, json_object *tippecanoe, json_object *feature) = 0;
virtual int add_feature(json_object *geometry, bool geometrycollection, json_object *properties, json_object *id, json_object *tippecanoe, json_object *feature) = 0;
virtual void check_crs(json_object *j) = 0;
};