open-forest-observatory / geograypher

Multiview Semantic Reasoning with Geospatial Data
BSD 3-Clause "New" or "Revised" License
10 stars 4 forks source link

Accelerate labeling polygons from per-face labels #113

Closed russelldj closed 2 months ago

russelldj commented 2 months ago

The main improvement is first removing faces that are not contained by the target polygons, since this is a much faster operation than doing the overlay. This could yield slightly different results, since partially-overlapping faces are discarded. Therefore the heuristic of buffering the input polygon regions before selecting the subset of faces is used.

russelldj commented 2 months ago

Additionally, nan face values are correctly handled.