NETL-RIC / GISA-testing-issues

Repository for public testing of GISA
0 stars 0 forks source link

Clip bounds for buffer processing #20

Closed justaPCWingo closed 7 months ago

justaPCWingo commented 7 months ago

Is your feature request related to a problem? Please describe. The buffer intersection tests are slow for large constraint sets. This could be resolved by clipping the boundaries of the constraints to the evaluated region prior to performing the point relocations.

Describe the solution you'd like Prior to applying the buffers, do the following:

  1. Take the extents / bounding box of the point layer, and inflate by the "Maximum Buffer" value.
  2. For each constraint, create a new layer by performing an intersect between the geometry from 1) and the constraint itself.
  3. Apply the constraints using the results of 2.
justaPCWingo commented 7 months ago

This is already happening for individual buffer rings, but we should still do this for the entire extents for the data

justaPCWingo commented 7 months ago

Done on layer load via geopandas