Most of the rest of joining JSON attributes onto features in overzoom

This commit is contained in:
Erica Fischer
2024-04-08 14:01:17 -07:00
parent 8876015bf7
commit 1d48570e26
7 changed files with 51 additions and 17 deletions
+2 -2
View File
@@ -42,7 +42,7 @@ int mb_geometry[GEOM_TYPES] = {
VT_POLYGON,
};
void json_context(json_object *j) {
void json_context(const json_object *j) {
char *s = json_stringify(j);
if (strlen(s) >= 500) {
@@ -121,7 +121,7 @@ void parse_geometry(int t, json_object *j, drawvec &out, int op, const char *fna
// type and stringified value. All numeric values, even if they are integers,
// even integers that are too large to fit in a double but will still be
// stringified with their original precision, are recorded here as mvt_double.
serial_val stringify_value(json_object *value, const char *reading, int line, json_object *feature) {
serial_val stringify_value(json_object const *value, char const *reading, int line, json_object const *feature) {
serial_val sv;
if (value != NULL) {