Revision 03199a77a59c373838f9dc18c534410985c8e1d9 authored by Eric Fischer on 07 September 2018, 19:07:47 UTC, committed by GitHub on 07 September 2018, 19:07:47 UTC
Issue an error message in tile-join if minzoom is greater than maxzoom
2 parent s 9949d7e + 7aebce7
Raw File
read_json.hpp
#define GEOM_POINT 0	   /* array of positions */
#define GEOM_MULTIPOINT 1      /* array of arrays of positions */
#define GEOM_LINESTRING 2      /* array of arrays of positions */
#define GEOM_MULTILINESTRING 3 /* array of arrays of arrays of positions */
#define GEOM_POLYGON 4	 /* array of arrays of arrays of positions */
#define GEOM_MULTIPOLYGON 5    /* array of arrays of arrays of arrays of positions */
#define GEOM_TYPES 6

extern const char *geometry_names[GEOM_TYPES];
extern int geometry_within[GEOM_TYPES];
extern int mb_geometry[GEOM_TYPES];

void json_context(json_object *j);
void parse_geometry(int t, json_object *j, drawvec &out, int op, const char *fname, int line, json_object *feature);

void stringify_value(json_object *value, int &type, std::string &stringified, const char *reading, int line, json_object *feature);
back to top