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

Plot vs. occurrence #21

Open
tpoisot opened this issue Mar 5, 2018 · 1 comment
Open

Plot vs. occurrence #21

tpoisot opened this issue Mar 5, 2018 · 1 comment

Comments

@tpoisot
Copy link
Contributor

tpoisot commented Mar 5, 2018

Following up PoisotLab/GBIF.jl#6 -- I think a way to move from points to plot would be to create a "grid" of data. If we have a set of GBIFRecords, it can probably be done by looking at the lat/lon range and applying e.g. Sturge's rule to determine the number of bins (or letting the user specify breakpoints).

I'm agnostic as to whether this should be done here, or in GBIF.jl.

@mkborregaard
Copy link
Member

mkborregaard commented Mar 5, 2018

Yes, you could easily grid occurrences by using a modification of SpatialEcology.creategrid (https://github.com/EcoJulia/SpatialEcology.jl/blob/master/src/Constructor_helperfunctions.jl#L135-L162). Interesting idea with the auto-binsize! We plan to put the auto-binning code from Plots into StatsBase, so it should be available. I wonder if anyone would ever use that though?

But the thing I think I understood was that actually many of GBIFs occurrence records are generated and uploaded as plot data, but that information is stripped as GBIF makes available as occurrences. But apparently they still do keep that information so it could be convenient to tap into it.

Congrats on getting the package out, it's really nice.

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