Vector-Tiles-Reader-QGIS-Plugin icon indicating copy to clipboard operation
Vector-Tiles-Reader-QGIS-Plugin copied to clipboard

Union features intersecting several tiles

Open drnextgis opened this issue 5 years ago • 4 comments

Is it possible to union features based on feature id values (FID)? It seems like "Merge tiles" doesn't respect that property. From here:

Although, you could use the id field in the protobuf to store information necessary for reconstructing polygons.

drnextgis avatar Jun 17 '19 21:06 drnextgis

If it was a feature id, that would really be unique per feature (even across tiles), then it would be possible and would even make more sense, than the current implementation. Currently, I merges based on location (i.e. overlapping), which is not only slow, but also error prone.

Unfortunately, the specification isn't really specific. Additionally, the feature id is optional.

mnboos avatar Jun 18 '19 05:06 mnboos

I see. But the idea is to take into account feature IDs if they are existing.

drnextgis avatar Jun 18 '19 05:06 drnextgis

So the feature ID is unique per feature but same across tiles?

mnboos avatar Jun 21 '19 07:06 mnboos

Exactly.

drnextgis avatar Jun 21 '19 07:06 drnextgis