Factoring out geometry parsing from feature parsing

This commit is contained in:
Erica Fischer
2024-11-21 15:44:46 -08:00
parent 72731a9fce
commit 0a4f6fe546
4 changed files with 134 additions and 124 deletions
+1 -1
View File
@@ -199,7 +199,7 @@ int serialize_geojson_feature(struct serialization_state *sst, json_object *geom
}
drawvec dv;
parse_geometry(t, coordinates, dv, VT_MOVETO, sst->fname, sst->line, feature);
parse_coordinates(t, coordinates, dv, VT_MOVETO, sst->fname, sst->line, feature);
serial_feature sf;
sf.layer = layer;