Open SanderDevisscher opened 5 months ago
for all species with management
Some more questions
I checked: Oxyura jamaicensis has no info on municipalities and provinces. https://github.com/inbo/aspbo/issues/53#issuecomment-1921085756
Current graphs and filters (already in the app):
Some more questions
- Static or interactive maps? Interactive can be slow and how to handle zooming?
- Region levels: choices are municipalities and provinces. If municipalities, need border for provinces?
- Same options as current maps: legend placement, show/hide globe, unit, source
Example output for Vespa Velutina @SanderDevisscher @timadriaens
@mvarewyck can you add a region (flanders, wallonia, etc...) filter ?
@timadriaens we need to think about usefull "levels"
@mvarewyck can you add a region (flanders, wallonia, etc...) filter ?
We have a region filter now at the top of the page which applies for all graphs.
Perfect
@mvarewyck which sources did you use for the respective maps ?
I'm thinking this might better fit under indicators or observation than management since it should display the number of observations in resp. periods 🤔
@soriadelva what do you think ?
@mvarewyck which sources did you use for the respective maps ?
@SanderDevisscher @soriadelva I use management data.
We can change it to any type of source; the data only needs to contain year and region columns (count can be 1 per row).
Since we want to display the invasion history of a species I think we need to use the observations instead of management. So the same data source as the observation maps.
@SanderDevisscher Which spatial regions do you want to show for the invasion maps?
(1) Municipalities & provinces like in the current invasion maps -> need to enrich data file be_alientaxa_cube.csv
with columns
NAAM
: municipality nameprovincie
: province name(2) UTM 1x1 and 10x10 squares like in the current observation maps -> no change to the input data needed
I think all 4 options should be possible.
[ ] @SanderDevisscher @soriadelva provide modified input files
@soriadelva I saw this PR but it enriches the reporting files instead of observations? For this issue, we need to enrich be_alientaxa_cube.csv
[ ] @SanderDevisscher @soriadelva provide modified input files
@soriadelva I saw this PR but it enriches the reporting files instead of observations? For this issue, we need to enrich be_alientaxa_cube.csv
@mvarewyck thanks for noticing, I have now done a left join with the be_alientaxa_cube and the utm1 file and saved this as a .csv. However, this file seems too big to push to Github. How should I best add this file to the repo and is .csv okay (maybe .gpkg would be better?)
[ ] @SanderDevisscher @soriadelva provide modified input files
@soriadelva I saw this PR but it enriches the reporting files instead of observations? For this issue, we need to enrich be_alientaxa_cube.csv
@mvarewyck thanks for noticing, I have now done a left join with the be_alientaxa_cube and the utm1 file and saved this as a .csv. However, this file seems too big to push to Github. How should I best add this file to the repo and is .csv okay (maybe .gpkg would be better?)
@soriadelva I don't think .gpkg will be smaller than .csv. The file you upload will be processed and reduced in size before uploading it to S3 as parquet file. How big is your file now? You could consider using Git LFS
[ ] @SanderDevisscher @soriadelva provide modified input files
@soriadelva I saw this PR but it enriches the reporting files instead of observations? For this issue, we need to enrich be_alientaxa_cube.csv
@mvarewyck thanks for noticing, I have now done a left join with the be_alientaxa_cube and the utm1 file and saved this as a .csv. However, this file seems too big to push to Github. How should I best add this file to the repo and is .csv okay (maybe .gpkg would be better?)
@soriadelva I don't think .gpkg will be smaller than .csv. The file you upload will be processed and reduced in size before uploading it to S3 as parquet file. How big is your file now? You could consider using Git LFS
@mvarewyck it's over 316 MB, I tried to use Git LFS but got the following error when pushing:
batch response: This repository is over its data quota. Account responsible for LFS bandwidth should purchase more data packs to restore access.
@mvarewyck @soriadelva i think we have to look into storing the file directly on the S3-bucket thus bypassing github
@mvarewyck @soriadelva i think we have to look into storing the file directly on the S3-bucket thus bypassing github
@SanderDevisscher, yes that would fix it 👍
Is your feature request related to a problem? Please describe. No, just a new feature as requested by @timadriaens
Describe the solution you'd like A stack of maps comparing the current year of invasion with the 2 prior periodes of 3 years (map current year (2024) + map current year -1 (2023) <-> current year - 4 (2020) + map current year -5 (2019) <-> current year - 9 (2016))
Describe alternatives you've considered not relevant
Additional context example for vespa, note years do not match request.![image](https://github.com/inbo/alien-species-portal/assets/16779320/61cf672a-15aa-4c58-bff8-1b63b651bd5a)
@SanderDevisscher add code example