Commit 19f969b
Species suggestion Backend (#467)
* modify grts_cell to sample_frame_id, the real name
* add species range model, management loading command, admin interface
* GET species support for recordingId, GRTSCell and Sample_frame_Id for listing
* mark geojson file as generated to remove line count
* mark geojson file as vendored to remove line count
* add category label back to Species results
* Update .gitattributes
Co-authored-by: Brian Helba <brian.helba@kitware.com>
* Update bats_ai/core/management/commands/load_species_geojson.py
Co-authored-by: Brian Helba <brian.helba@kitware.com>
* swap to tuples to lists for admin
* prevent nullable for SpeciesRange.source_feature_id field
* update GEOJSON location, add loading to migration
* default to CONUS_SAMPLE_FRAME_ID=14 for unknown sample_frame_ids
* cleanup species view
* pathlib for DEFAULT_GEOJSON
* rename species.geojson to species-ranges.geojson
* Update bats_ai/core/management/commands/load_species_geojson.py
Co-authored-by: Brian Helba <brian.helba@kitware.com>
* allow more failing errors in load species range
* remove unecessary pk, and default to false if geom exists and overlap is false
* in_range output comments, species-range ingestion description
---------
Co-authored-by: Brian Helba <brian.helba@kitware.com>1 parent 5b2a238 commit 19f969b
18 files changed
Lines changed: 463206 additions & 26 deletions
File tree
- bats_ai/core
- admin
- data
- management/commands
- migrations
- models
- utils
- views
- client/src/api
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
193 | | - | |
194 | | - | |
195 | 193 | | |
196 | 194 | | |
197 | | - | |
| 195 | + | |
198 | 196 | | |
199 | 197 | | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| 45 | + | |
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
0 commit comments