feat(farm_pack_demo): geo fixtures — fields, observations, fences, water#9
Open
dnplkndll wants to merge 1 commit into
Open
feat(farm_pack_demo): geo fixtures — fields, observations, fences, water#9dnplkndll wants to merge 1 commit into
dnplkndll wants to merge 1 commit into
Conversation
…ces, 3 fences Showcases the v1 geo slice on a fresh demo install. All polygons + points anchor to Ligonier PA (40.2421N, 79.2389W) where the other demo partners + the rest of farm_pack_demo already live. Layout: - North 40 (~40 ac corn) and South Pasture (~25 ac alfalfa) on Alice's place - East Garden (~2 ac mixed veg) and Berry Hill (~5 ac strawberry) on Bob's place - Observations: pest/disease/water/photo/soil/weed types, urgency spread across low/med/high so the kanban grouped-by-urgency view has color in every column - Water sources: farmhouse well serving both Alice fields, frost-free hydrant + trough on the south pasture - Fences: high-tensile farm perimeter, polywire paddock divider, woven-wire deer fence around the East Garden (one in each condition tier) Tests cover XML parse correctness, xmlid resolution, the acreage compute on the polygons, and presence of every urgency/condition tier so the demo always exercises the full UI palette.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds geo demo data so a fresh install of
farm_pack_demoopens with polygons on the map, observations grouped by urgency, fences color-coded by condition, and water sources pinned to the right fields. Everything anchors to Ligonier PA (40.2421°N, 79.2389°W) where the existing demo partners already live.Files added
demo/farm_field_geo_demo.xml— 4 polygons (North 40 corn, South Pasture alfalfa, East Garden veg, Berry Hill strawberry) split acrosspartner_demo_alice+partner_demo_bobdemo/farm_observation_demo.xml— 6 observations mixing pest/disease/water/photo/soil/weed types and full urgency spread (low/med/high)demo/farm_water_source_demo.xml— farmhouse well + frost-free pasture trough/hydrant, withfield_idslinking to relevant fieldsdemo/farm_fence_demo.xml— high-tensile perimeter, polywire paddock divider, woven-wire deer fence (one in each condition tier)tests/test_geo_demo_data.py— 7 smoke tests covering XML parse, xmlid resolution, acreage compute, urgency spread, and length computeTest coverage
test_four_demo_fields_existtest_north_40_acreage_in_rangetest_south_pasture_smaller_than_north_40test_east_garden_smallest_fieldtest_six_observations_loadedtest_water_sources_serve_demo_fieldstest_three_fences_with_distinct_conditionsDepends on
Best to merge after #8 (Farm Pack umbrella now lists the SMB-tier + geo modules) so installing
farm_pack_demoactually pulls in the geo schema it references. Not strictly blocking —farm_pack_demodepends onfarm_packalready, the umbrella fix just makes the whole stack install in one shot.Test plan
invoke install -m farm_pack_demosucceeds