Samuel Blanco

Erick Alcantar

Victor Espinoza

David Saenz

Ricardo Trevizo


IOS App

Safety is a small implementation that we created to show the potential that the portocol can achieve.

It tracks your location and gives you a smart and fast route to a safe place, the reach of the protocol can be really big if implemented well, it also gives a good base for a better security implementation in industries and almost any place

Web Service API

This API is an early implementation, changes are still to be made

Routes

GET

http://dervsprotocol.appspot.com/evaRoute/(latitude(double))_(longitude(double))

This returns the closes Evacuation Route to the latitude and longitude specified in the URL, they must be separated by an underscore

This will return a JSON object with two atributes, origin and route, origin has the GeoPt coordinates from where the route starts, and route is a list of all the next GeoPts that defines de evacuation route

Syntax:

{"origin":position(str),"route":[list of positions "lat, lon"(str)],"name":(str)}

This is an example of a real implementation of the method

{"origin":"28.673898,-106.079871","route":["28.673898,-106.079871","28.673896,-106.080159","28.674125,-106.080264","28.673987,-106.08071"],"name":"Entrada lateral"}


Meeting Points

GET

'http://dervsprotocol.appspot.com/evaRoute/name(str)'

This will return a JSON object with two values, location wich has a string of the coordinates, and a specified name

{"location":"lat,lon"(str),"name":(str)}

This is an example of a real implementation of the method

{"location":"28.674295,-106.076957","name":"Gimnasio ITESM"}

If all Meeting points are required they can be retrieved by pasing an other value to the url, this value is prefered to be an asterisk

http://volcanoprevent.appspot.com/evaRoute/*

This is an example of a real implementation of the method

{"meetingpoints":[ list of all the meeting points {"name":(str),"location":"lat,lon"(str)},]}

{"meetingpoints":[{"name":"lol","location":"28.674351,-106.075324"},{"name":"Zocalo","location":"0.0,0.0"},{"name":"hola","location":"18.57,-95.32"},{"name":"Gimnasio ITESM","location":"28.674295,-106.076957"}]}

Nodes

GET

'http://dervsprotocol.appspot.com/node/owner(str)''

To get nodes for a specifir building, industrie or owner, we will need to make a specific request, with the owners unique identifier, this will retrieve al nodes for the a owner

This will return a JSON object with a list of nodes, wich will have the next properties key, name, rType, owner, status and location.

Extra Info IMPORTANT

All the post events are still in development, for security porpuses, as soon as they are finished documentation will be added, the only way to add them is with our administration portal.

If you want to addopt our early protocol please send us an email: samuel.drach@gmail.com