Support feature IDs for decoding

This commit is contained in:
Eric Fischer
2016-07-15 13:58:15 -07:00
parent a1f8564631
commit 2bc1b9bd91
3 changed files with 17 additions and 0 deletions
+7
View File
@@ -25,6 +25,13 @@ struct mvt_feature {
std::vector<unsigned> tags;
std::vector<mvt_geometry> geometry;
int /* mvt_geometry_type */ type;
unsigned long long id;
bool has_id;
mvt_feature() {
has_id = false;
id = 0;
}
};
enum mvt_value_type {