mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-02 16:35:40 +02:00
Fix inverse spatial feature order
This commit is contained in:
@@ -665,7 +665,8 @@ void *partial_feature_worker(void *v) {
|
||||
to_tile_scale(geom, z, out_detail);
|
||||
}
|
||||
|
||||
(*partials)[i].index = i;
|
||||
// what was this for?
|
||||
// (*partials)[i].index = i;
|
||||
|
||||
std::vector<drawvec> geoms; // artifact of former polygon-splitting to reduce geometric complexity
|
||||
geoms.push_back(geom);
|
||||
@@ -2336,6 +2337,7 @@ long long write_tile(decompressor *geoms, std::atomic<long long> *geompos_in, ch
|
||||
for (size_t i = 0; i < partials.size(); i++) {
|
||||
partial &p = partials[i];
|
||||
|
||||
#if 0
|
||||
{
|
||||
std::string layername = (*layer_unmaps)[p.segment][p.layer];
|
||||
|
||||
@@ -2350,6 +2352,7 @@ long long write_tile(decompressor *geoms, std::atomic<long long> *geompos_in, ch
|
||||
sv2.s = std::to_string(p.feature_minzoom);
|
||||
p.full_values.push_back(sv2);
|
||||
}
|
||||
#endif
|
||||
|
||||
if (p.clustered > 0) {
|
||||
std::string layername = (*layer_unmaps)[p.segment][p.layer];
|
||||
|
||||
Reference in New Issue
Block a user