Include the segment number in the serialized geometry

This commit is contained in:
Eric Fischer
2015-12-21 17:21:18 -08:00
parent 1f335eec44
commit de60545da8
2 changed files with 7 additions and 2 deletions
+1
View File
@@ -558,6 +558,7 @@ int serialize_geometry(json_object *geometry, json_object *properties, const cha
serialize_int(geomfile, tippecanoe_maxzoom, geompos, fname);
}
serialize_int(geomfile, segment, geompos, fname);
serialize_long_long(geomfile, metastart, geompos, fname);
long long wx = initial_x, wy = initial_y;
parse_geometry(t, coordinates, bbox, geompos, geomfile, VT_MOVETO, fname, line, &wx, &wy, &initialized);