Fix reordering of attributes and failure to update layer name table

This commit is contained in:
Eric Fischer
2016-12-20 16:41:23 -08:00
parent a2060299c9
commit 6a5461763c
3 changed files with 40 additions and 31 deletions
+2 -1
View File
@@ -52,7 +52,8 @@ struct serial_feature {
// XXX This isn't serialized. Should it be here?
long long bbox[4];
std::map<std::string, serial_val> kv;
std::vector<std::string> full_keys;
std::vector<serial_val> full_values;
};
void serialize_feature(FILE *geomfile, serial_feature *sf, long long *geompos, const char *fname, long long wx, long long wy, bool include_minzoom);