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

Combining Neotoma and PBDB queries using ELC in Flyover Country #19

Open
Shane98c opened this issue May 15, 2018 · 2 comments
Open

Combining Neotoma and PBDB queries using ELC in Flyover Country #19

Shane98c opened this issue May 15, 2018 · 2 comments

Comments

@Shane98c
Copy link

Shane98c commented May 15, 2018

Looking at combining the Neotoma and PBDB queries FC makes into a single query to ELC. @jpjenk

From each, we request using a list of taxon names with some exclusions. For example:

From PBDB:

"Dinosauria^aves",   
"Acanthostega",
"Ichthyostega",
"Crassigyrinus",
"Archosauria^Aves",
"Synapsida^Mammalia" 
etc.

From Neotoma:

"Mastodon"
"Casteroides"
"Panthera leo atrox"
"Mammuthus" 
etc.

Things we use in FC

Taxon Name (both)
Site Name (both?)
img id (phylopic - currently using images hosted by PBDB)
coordinates (both)
ecospace (pbdb) - currently using diet but other things may be interesting
age old/young (both)
Common names (hard)
Other cool things???

In some magic world it would be great if this all came back as GeoJSON, but we can also transform it client side.

Thanks!

@Shane98c Shane98c changed the title mobile geospatial progressive responsive endpoint of magic Combining Neotoma and PBDB queries using ELC in Flyover Country May 15, 2018
@Shane98c
Copy link
Author

Shane98c commented May 16, 2018

Would also be nice to get a source returned right with the sample that is ready for display (e.g. "NeotomaDB.org" or "PaleobioDB.org" or "otherDB.org")

@Shane98c
Copy link
Author

was adding some more taxon names and finally hit the limit. Can we raise it?

http://earthlifeconsortium.org/api_v1/occ?bbox=POLYGON((-116.18%2044.94,-111.55%2040.93,-107.1%2036.4,-106.74%2035.8,-106.63%2035.11,-106.8%2034.43,-107.22%2033.86,-108.16%2033.41,-108.86%2033.45,-109.5%2033.74,-114.1%2038.39,-118.77%2042.45,-119.11%2043.06,-119.19%2043.76,-119%2044.43,-118.56%2044.98,-117.95%2045.32,-117.25%2045.4,-116.18%2044.94))&taxon=dinosauria^aves,dasypus,smilodon,euceratherium%20collinum,cervalces%20scotti,canis%20dirus,panthera,synapsida^mammalia,chalicotheriinae,cetacea,andrewsarchus,brontotheriidae,indricotheriinae,dunkleosteus,megalodon,helicoprion,stethacanthus,Echinochimaera,falcatus,ischyodus,carcharodon,phorusrhacidae,gastornithidae,argentavis,dinornis,eohippus,proboscidea,Protoceratidae,Rhinocerotidae,Megacerops,Moeritherium,Ceratogaulus,Gomphotherium,Deinotherium,Condylarthra,Paraceratherium,Mesonychia,Pantodonta,Hyaenodon,Thylacosmilus,Glyptodon,Castoroides,Toxodon,Megatherium,Arctodus,Smilodon,Mammuthus,Mammut,Coelodonta,Megaloceras,Gigantopithecus,Phlegethontia,Temnospondyli,Lepospondyli,Ichthyosauria,Sauropterygia,Mosasauroidea,Pterosauromorpha,Titanoboa,Megalania,Placodus,Tanystropheidae,Hyperodapedon,Stagonolepis,Scutosaurus,Pareiasauria,Archelon,Stupendemys,Protostega,Placodermi,Leedsichthys,Onychodontiformes,Acanthostega,Ichthyostega,Crassigyrinus,Ornithosuchus,Erpetosuchidae,Protosuchus,Dakosaurus,Geosaurus,Deinosuchus

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

1 participant