Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gmartinezramirez-old/brigapp

:rocket: [Hackathon] [Finished] NASA International Space Apps Challenge Hackathon 2017 - Warning! Danger Ahead!- And YOU can Help Fight Fires!- A Firespread simulator connected with a React Native application for data visualization.
https://github.com/gmartinezramirez-old/brigapp

chile fire hackathon nasa osm simulator

Last synced: 9 days ago
JSON representation

:rocket: [Hackathon] [Finished] NASA International Space Apps Challenge Hackathon 2017 - Warning! Danger Ahead!- And YOU can Help Fight Fires!- A Firespread simulator connected with a React Native application for data visualization.

Awesome Lists containing this project

README

        

# BrigApp
NASA Hackathon 2017

## To use the calcute route module
Use command to mount server in the port 8989. Accesible by localhost:8989

'''
make run
'''

or use the command (included in Makefile):

'''
./td.sh datasource=your-osm-file.pbf
'''

In this case (Chile), we must use:

'''
./td.sh datasource=chile-latest-osm.pbf
'''

### Send weigths nodes
Send json data that contains the weigth of the nodes
curl -H "Content-Type: application/json" --data @traffic.json http://localhost:8989/datafeed

### Send points of beginning and end
Send points of the start and end points to calculate the safest and fastest route.
http://localhost:8989/route?point=BEGINNING-LATITUDE%2CBEGINNIG-LONGITUDE&point=ENDING-LATITUDE%2CENDING-LONGITUDE

Example:
V-46, Fresia, X Región, Chile
Latitude: -41.152994 | Longitude: -73.424678

http://localhost:8989/route?point=-41.152841%2C-73.426094&point=-41.157106%2C-73.423358

note: %2C indicate a comma in the URL