Lewis John McGibbney created SDAP-70:
----------------------------------------

             Summary: Build eventsView and recommendation panels for EventsDB
                 Key: SDAP-70
                 URL: https://issues.apache.org/jira/browse/SDAP-70
             Project: Apache Science Data Analytics Platform
          Issue Type: Improvement
            Reporter: Lewis John McGibbney


Upon entering a query, within the ranked dataset results, we wish to somehow 
also provide events for a given query (on right hand side navbar similar to 
what is currently done with similar queries).
Upon selecting one of these events... a user should be able to step through 
into an eventsView similar to what we see in the [dataset 
results|https://github.com/apache/incubator-sdap-mudrod/blob/master/web/META-INF/resources/partials/datasetResults.html]
 e.g. a table of information for the given event, an example event is given 
below


{code:java}
{

    "_index": "mudrod",
    "_type": "eonet_event",
    "_id": ""EONET_3482"",
    "_version": 1,
    "_score": 1,
    "_source": {
        "id": ""EONET_3482"",
        "title": ""Cyclone Flamboyan"",
        "description": """",
        "link": ""https://eonet.sci.gsfc.nasa.gov/api/v2.1/events/EONET_3482"";,
        "closed": ""2018-05-07T00:00:00Z"",
        "categories": [
            "{"id":10,"title":"Severe Storms"}"
        ],
        "sources": [
            
"{"id":"UNISYS","url":"http://weather.unisys.com/hurricane/s_indian/2018/FLAMBOYAN/track.dat"}";
        ],
        "geometries": [
            
"{"date":"2018-04-28T06:00:00Z","type":"Point","coordinates":[92.50,-8.90]}"
            ,
            
"{"date":"2018-04-28T12:00:00Z","type":"Point","coordinates":[90.80,-9.60]}"
            ,
            
"{"date":"2018-04-28T18:00:00Z","type":"Point","coordinates":[89.70,-10.20]}"
            ,
            
"{"date":"2018-04-29T00:00:00Z","type":"Point","coordinates":[89.30,-10.90]}"
            ,
            
"{"date":"2018-04-29T06:00:00Z","type":"Point","coordinates":[87.80,-12.10]}"
            ,
            
"{"date":"2018-04-29T12:00:00Z","type":"Point","coordinates":[86.30,-12.80]}"
            ,
            
"{"date":"2018-04-29T18:00:00Z","type":"Point","coordinates":[85.70,-13.50]}"
            ,
            
"{"date":"2018-04-30T00:00:00Z","type":"Point","coordinates":[85.00,-14.40]}"
            ,
            
"{"date":"2018-04-30T06:00:00Z","type":"Point","coordinates":[84.50,-14.90]}"
            ,
            
"{"date":"2018-04-30T12:00:00Z","type":"Point","coordinates":[84.30,-15.60]}"
            ,
            
"{"date":"2018-04-30T18:00:00Z","type":"Point","coordinates":[84.20,-16.30]}"
            ,
            
"{"date":"2018-05-01T00:00:00Z","type":"Point","coordinates":[83.70,-17.20]}"
            ,
            
"{"date":"2018-05-01T06:00:00Z","type":"Point","coordinates":[83.80,-17.30]}"
            ,
            
"{"date":"2018-05-01T12:00:00Z","type":"Point","coordinates":[84.00,-17.70]}"
            ,
            
"{"date":"2018-05-01T18:00:00Z","type":"Point","coordinates":[84.20,-18.20]}"
            ,
            
"{"date":"2018-05-02T00:00:00Z","type":"Point","coordinates":[84.40,-18.70]}"
        ]
    }

}
{code}

To make it look nicer, we can also embed a leaflet.js panel which merely maps 
the *geometries* field.




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to