https://github.com/mapbox/tippecanoe
Revision 6376c283bac9d7fc1c5b8cbd25acf12843052ae4 authored by Eric Fischer on 12 December 2018, 18:49:53 UTC, committed by Eric Fischer on 12 December 2018, 18:51:00 UTC
1 parent 5f1c0e1
Raw File
Tip revision: 6376c283bac9d7fc1c5b8cbd25acf12843052ae4 authored by Eric Fischer on 12 December 2018, 18:49:53 UTC
Add Hilbert Curve feature sequencing as an option
Tip revision: 6376c28
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