https://github.com/mapbox/tippecanoe
Tip revision: 2518f238d428ef3f567ac2438992cbdeaa147d1e authored by Eric Fischer on 06 September 2017, 18:49:55 UTC
Use tippecanoe instead of tile-join in the filter example
Use tippecanoe instead of tile-join in the filter example
Tip revision: 2518f23
geojson.hpp
#ifndef GEOJSON_HPP
#define GEOJSON_HPP
#include <stdio.h>
#include <set>
#include <map>
#include <string>
#include "mbtiles.hpp"
#include "jsonpull/jsonpull.h"
#include "serial.hpp"
struct parse_json_args {
json_pull *jp;
int layer;
std::string *layername;
std::map<std::string, int> const *attribute_types;
bool want_dist;
struct serialization_state *sst;
};
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, int layer, std::string layername);
void *run_parse_json(void *v);
#endif