(Created page with "La URL debería parecerse a la siguiente: Limpio (clean): airnavpro://direct-to?coordinates=wgs84-decimal&location=46.875_7.234,0.0,WP1,Grass field Cadena de consulta codifica...") |
(Created page with "El mismo está formado por: * Esquema URL: airnavpro:// * Una acción: direct-to * Formato de coordenadas: coordinates=wgs84-decimal * waypoint(s): location=46.875_7.234,0.0,W...") |
||
Line 15: | Line 15: | ||
La URL debería parecerse a la siguiente: Limpio (clean): airnavpro://direct-to?coordinates=wgs84-decimal&location=46.875_7.234,0.0,WP1,Grass field Cadena de consulta codificada (Encoded Query) airnavpro://direct-to?coordinates%3Dwgs84-decimal%26location%3D46.875_7.234%2C0.0%2CWP1%2CGrass%20field | La URL debería parecerse a la siguiente: Limpio (clean): airnavpro://direct-to?coordinates=wgs84-decimal&location=46.875_7.234,0.0,WP1,Grass field Cadena de consulta codificada (Encoded Query) airnavpro://direct-to?coordinates%3Dwgs84-decimal%26location%3D46.875_7.234%2C0.0%2CWP1%2CGrass%20field | ||
− | + | El mismo está formado por: | |
− | * URL | + | * Esquema URL: airnavpro:// |
− | * | + | * Una acción: direct-to |
− | * | + | * Formato de coordenadas: coordinates=wgs84-decimal |
* waypoint(s): location=46.875_7.234,0.0,WP1,Grass field | * waypoint(s): location=46.875_7.234,0.0,WP1,Grass field | ||
<br /> | <br /> | ||
---- | ---- | ||
− | <u>''' | + | <u>'''Nota:'''</u> La parte de la cadena de consulta (query) de la URL tiene que estar codificada para soportar caracteres especiales. |
---- | ---- | ||
<br /> | <br /> |
Revision as of 19:14, 3 October 2016
Contents
Crear waypoint Waypoint a través de una URL
Con el fin de agilizar los tiempos de trabajo es posible insertar rápidamente waypoints en la aplicación pulsando en una URL con un formato especial. La URL puede ser enviada por correo electrónico, SMS o navegado en un sitio web.
Acciones soportadas:
- Dirigirse hacia
- Importar waypoints
- Crear ruta
La URL debería parecerse a la siguiente: Limpio (clean): airnavpro://direct-to?coordinates=wgs84-decimal&location=46.875_7.234,0.0,WP1,Grass field Cadena de consulta codificada (Encoded Query) airnavpro://direct-to?coordinates%3Dwgs84-decimal%26location%3D46.875_7.234%2C0.0%2CWP1%2CGrass%20field
El mismo está formado por:
- Esquema URL: airnavpro://
- Una acción: direct-to
- Formato de coordenadas: coordinates=wgs84-decimal
- waypoint(s): location=46.875_7.234,0.0,WP1,Grass field
Nota: La parte de la cadena de consulta (query) de la URL tiene que estar codificada para soportar caracteres especiales.
Coordinates formats:
|
|
Waypoint format For any action the waypoint can be defined with different values separated by a comma (,). Waypoints are separated by semicolons (;).
Waypoint values:
- Coordinates
- Elevation (in meters)
- Waypoint ID
- Waypoint name
A waypoint must at least contain the coordinates information. The coordinates information may be composed of two values, in this case the coordinates must be linked with a underscore (_). For example, a waypoint description for a wgs84 decimal format: 46.875_7.234
Here is a full example with elevation, ID and name data: 46.875_7.234,0.0,WP1, Antenna
Direct-to
Direct to can be achieved by formatting an URL with the "direct-to" command. Only one waypoint can be specified and it has to be in the form like :
location=waypoint
Here are some examples of direct-to URLs :
WGS84 decimal
- airnavpro://direct-to?coordinates=wgs84-decimal&location=46.875_7.234,0.0,WP1,Grass field
WGS84 degrees minutes seconds
- airnavpro://direct-to?coordinates=wgs84-ddmmss&location=N 12°34′56′′_W 78°12′34′′,0.0,WP1,Grass field
Swissgrid CH1903
- airnavpro://direct-to?coordinates=swiss&location=602030.68_191775.03,0.0,WP1,Zimmerwald
Import waypoints to user database
A list of waypoints can be imported directly in the user database with a specially formatted URL with the "add-waypoints" command. A list of waypoints can be specified and it has to be in the form like :
waypoints=point1;point2;point3
Here is an example of add-waypoints URLs :
- airnavpro://add-waypoints?coordinates=wgs84-decimal&waypoints=46.123_6.543,125.0,WP1,Grass field;47.113_7.143,225.1,WP2,Forrest;45.153_6.643,1225.0,WP3,Antenna
Create Route
A new route with a list of waypoints can be created and loaded directly with a specially formatted URL with the "new-route" command. A route name and list of waypoints can be specified and it has to have a form like: route-name=myRoute&waypoints=point1;point2;point3
Here is an example of add-waypoints URLs :
- airnavpro://new-route?coordinates=wgs84-decimal&route-name=myRoute&waypoints=46.123_6.543,125.0,WP1,Grass field;47.113_7.143,225.1,WP2,Forrest;45.153_6.643,1225.0,WP3,Antenna
Back to previous page.