-
Notifications
You must be signed in to change notification settings - Fork 0
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
Search: materials #27
Comments
There's http://api.edmaterializer.com/api/v4/surveys?resource=Tin but it seems that the resource parameter is not working yet. |
Sorry, resource actually refers to the rock type. Such as "Mesosiderite". Tell you what, I'll implement something for the api to look up materials this week, because it's an easy thing to do. |
That'd be so nice, I'd really like to find out where there's some Tin near me : / Also if 'resource' refers to the source type it might be worth considering to rename it appropiately, like 'source'. |
Ah, well before I started the project the authoritative source collections was the "Monster" prospecting sheet: Materializers mission is pretty much to make the need for this spreadsheet redundent. It actually imports data from it on a regular basis. Because of this I just kept their terminology to some extent, hence "resource". But I agree a better name could be worked out. If I did that though I'd be more likely to use "source" on the frontend app and leave the api be until I was sure it was going to stick. Funny you should mention the renames of "Outcrop 1" and "Outcrop 2". I've had the same thoughts, I just haven't got around to doing something about it. I've kept it as the others so far because that's how I import them from the Monster. I'll be ditching BINARY and AGGREGATED at some point too, because tickbox vs numerical surveys should be a different attribute. Anyway... I've been sidelined into another project (engineers spreadsheet to webapps) so probably won't be getting onto this as quickly as I'd like to. In the meantime, this might of help: It only has data from Monster I think, but at the moment that accounts for much of it. |
We need the ability to look for planets that have specfic materials. I thin the search box string would look something like this:
"Ceek mat:Y mat:Cad mat:Cb"
... which would find planets with ytriam, carbon and cadmium for systems with CEEK in the name.
The selection for this would likely be checkboxes in an advanced search page. We'ed need to add something to the backend to support this kind of search. I think searching on world_survey model for those attributes would be a good way to do it.
The text was updated successfully, but these errors were encountered: