Revision 4f7459c7976b124a9f545bf818833c32b3e6e05a authored by Eric Fischer on 05 April 2019, 00:01:02 UTC, committed by Eric Fischer on 05 April 2019, 00:03:36 UTC
1 parent 945d804
Raw File
geojson-loop.hpp
#include <string>
#include "jsonpull/jsonpull.h"

struct json_feature_action {
	std::string fname;

	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;
};

void parse_json(json_feature_action *action, json_pull *jp);
back to top