Include tilestats in the metadata table. (Not all tests are passing)

This commit is contained in:
Eric Fischer
2017-07-19 13:09:47 -07:00
parent 9078098511
commit 7b03e1ee87
80 changed files with 102 additions and 5 deletions
+4
View File
@@ -374,8 +374,12 @@ int serialize_geometry(json_object *geometry, json_object *properties, json_obje
vt = JSON_STRING;
} else if (a->second == mvt_float) {
vt = JSON_NUMBER;
val = std::to_string(atof(val.c_str()));
} else if (a->second == mvt_int) {
vt = JSON_NUMBER;
if (val.size() == 0) {
val = "0";
}
for (size_t ii = 0; ii < val.size(); ii++) {
char c = val[ii];