bcgov / invasivesbc

Inventory and database repository for the creation, treatment, and report on BC Invasive plants and animals.
Apache License 2.0
10 stars 3 forks source link

Well ID & Well Proximity #450

Closed ZoeSimon closed 3 years ago

ZoeSimon commented 3 years ago

Is your feature request related to a problem? Please describe.

Requirement

The provincial wells layer (BCGW) provides a spatial/data content for approximately 60,000 well locations representing about 70% of the known and documented wells in the province. As part of any/all plant activities, the location of wells (known and those newly observed) need to be identified and integrated in all treatment plans and activities as the use of herbicides are restricted within range of a well (distance varies). As most wells are on private land, treating on crown land still needs to account for nearby wells.

Describe the solution you'd like A clear and concise description of what you want to happen.

If feasible on the mobile...

If it is not feasible on the mobile to relate the anchor point of the activity to the well points, then the WellID and WellProximity fields would be or on the form. Once the sync record is process on the backend, these fields would be determined.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Open to alternative methods.

Additional context

Screen shot in comments below.

ghost commented 3 years ago

Well locations appear as a default layer. Mouseover/click displays the ID and location. image.png

ZoeSimon commented 3 years ago

@popkinj Here's one that is important to tackle

micheal-w-wells commented 3 years ago

@popkinj sounds like we are gonna be caching some layer data to query with this one. Was your plan for this to just cache well data for the province or to fetch it for a region?

popkinj commented 3 years ago

Was planning to cache the closest well (within 500m) and the associated attributes. The API end point for this is already done.

On Tue., Feb. 23, 2021, 3:12 p.m. Micheal W. Wells, < notifications@github.com> wrote:

@popkinj https://github.com/popkinj sounds like we are gonna be caching some layer data to query with this one. Was your plan for this to just cache well data for the province or to fetch it for a region?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/bcgov/invasivesbc/issues/450#issuecomment-784579668, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADU6YUIGGCR62MXOG574RLTAQY35ANCNFSM4WJE3AJQ .

ZoeSimon commented 3 years ago

@popkinj Jamie to show @micheal-w-wells what needs to be done to close this ticket.

micheal-w-wells commented 3 years ago

use turf to get distance to well