- Issue created by @paul121
- Status changed to Fixed
11 months ago 12:44am 5 February 2024 - πΊπΈUnited States paul121 Spokane, WA
I've implemented a first version of this: https://git.drupalcode.org/project/farm_jd/-/commit/eb3785b9c704a7625474...
When checking for new field operations we also enqueue the field operation's shape file to be generated (this is an async operation, can take up to 30 minutes). Most of the time this file should be ready once the field operation is actually imported as a log.
Right now it is only requesting the Point - EachSection shapefile from JD. It also uses the farmOS configured units. For more info see here: https://developer.deere.com/dev-docs/field-operations#/fieldOps/{operationId}/get
Some ideas for future:
- Have a dedicated page that lets you sync shape files "on demand" - this could allow specifying a specific granularity of shape file you want to sync (Point/Polygon, Section, Sensor, Hertz). It could also help remedy issues when a shape file is not able to be synced when the log is created.
- Make auto-syncing of shapefiles entirely configurable. This could also include configuration for the type of shapefile.
- Parse the equipment out from the shapefile. This should be possible, but looks challenging. Automatically closed - issue fixed for 2 weeks with no activity.