-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Genie.jl: Julia Web Framework #21
Comments
Endpointapi/prediction Query Params
MethodGET Response{
"nearby":[
{
"longitude":-63.53797,
"chance":0.59,
"latitude":-81.46996
},
{
"longitude":-63.53797,
"chance":0.59,
"latitude":-81.46996
},
{
"longitude":-63.53797,
"chance":0.59,
"latitude":-81.46996
}
],
"requested":{
"longitude":-63.53797,
"chance":0.59,
"latitude":-81.46996
}
} Edit: Updated response Questions@michiboo Does the following JSON provide all the info you might need for use case #1 and #2 in maps portion? |
@Diaga Yes I think LatLong points is enough |
@Diaga so from client side we just need to post lat/long and in response receive chance and higher the chance the more red for the line of circle. So it work. But the things is should we use the user point as center of circle or the response's point as centre of circle? Also how many lat/long points should be return from the model? Just one or list of points? |
Yes, timestamp and total no. of infected people will be needed for the visualization. |
Yes, exactly.
In an ideal situation, the user point would be the same as response point. I think this will depend on data but we should go with response's point as center.
There are two main keys for the json.
Great! I think this formula would be better to calculate radius. We may have to experiment to see what works best. |
Got it. |
Genie is going to be as a middleman for communication between flutter app and prediction model through API.
Also, exposes endpoints for Use Case 3 in #1.
Repo link here.
Progress
The text was updated successfully, but these errors were encountered: