Skip to content

Commit

Permalink
Pass bin IDs through to the output
Browse files Browse the repository at this point in the history
  • Loading branch information
e-n-f committed Sep 16, 2024
1 parent 84f6e88 commit 7cef647
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions clip.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1338,6 +1338,8 @@ mvt_tile assign_to_bins(mvt_tile const &features, std::vector<mvt_layer> const &
mvt_feature outfeature;
outfeature.geometry = bin.geometry;
outfeature.type = bin.type;
outfeature.has_id = bin.has_id;
outfeature.id = bin.id;
a.outfeature = outlayer.features.size();

a.counter = counters.size();
Expand Down
Loading

0 comments on commit 7cef647

Please sign in to comment.