Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Biosecurity alert - suspected failing #376

Open
turley85 opened this issue Feb 10, 2025 · 4 comments
Open

Biosecurity alert - suspected failing #376

turley85 opened this issue Feb 10, 2025 · 4 comments

Comments

@turley85
Copy link

A new alert has been added that has 42 LGA's as a spatial area. When "previewing" that alert, it very quickly (too quickly) shows 0 records.

I've double check the list and can't see any errors, so suspect something else is going on.

List is WA_LGA_Northam_IAS: https://lists.ala.org.au/speciesListItem/list/dr30101

@turley85
Copy link
Author

For example, Oryctolagus cuniculus is on the list, but not being detected.

Occurrence in relevant area is here: https://biocache.ala.org.au/occurrences/060c165b-75d7-4d7d-99a4-de928aab67d5

@kylie-m
Copy link

kylie-m commented Feb 10, 2025

Hi Andrew, I suspect the 42 LGAs per line is too long / too many for the biocache query and that might be what's breaking it.

As a workaround, I'll try combining them into a single spatial object, see how that works and let you know how it goes

@kylie-m
Copy link

kylie-m commented Feb 19, 2025

Hi again Andrew, I had some trouble downloading all of the LGAs and combining into a single shapefile, but after chatting with the rest of the team, I have a couple of suggestions for how we can approach this -

  1. Starting with the easiest, could we ask the user if they have a shapefile they could supply us?
  2. If the LGAs we are looking at are part of a defined, named region we might be able to use that instead to form a shorter query
  3. If using the LGA approach is our only option, it should still be possible to split the fq statement over a couple of lines. So for example, include the same species on the list twice and split the list of LGAs into a first and second half.

I'm on leave for a few days but if you have questions please reach out to the team and they can help :)

@turley85
Copy link
Author

Hi @kylie-m

Those LGA's are all from the "Wheatbelt" area: https://en.wikipedia.org/wiki/Wheatbelt_(Western_Australia)

Does that help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants