Difference between revisions of "Via URL"

Jump to: navigation, search
(Marked this version for translation)
 
(One intermediate revision by one other user not shown)
Line 6: Line 6:
 
<br />
 
<br />
 
----
 
----
==Create Waypoint via URL==
+
==Create Waypoint via URL== <!--T:19-->
 
In order to help the workflow it is possible to quickly insert waypoints in the application by tapping on a specially formatted URL. The URL can be sent by E-Mail, SMS or browsed on a website.
 
In order to help the workflow it is possible to quickly insert waypoints in the application by tapping on a specially formatted URL. The URL can be sent by E-Mail, SMS or browsed on a website.
  
 +
<!--T:20-->
 
Supported actions:
 
Supported actions:
 
* Direct-to
 
* Direct-to
Line 14: Line 15:
 
* Create route
 
* Create route
  
 +
<!--T:21-->
 
The URL looks something like this:
 
The URL looks something like this:
 
Clean: airnavpro://direct-to?coordinates=wgs84-decimal&location=46.875_7.234,0.0,WP1,Grass field
 
Clean: airnavpro://direct-to?coordinates=wgs84-decimal&location=46.875_7.234,0.0,WP1,Grass field
 
Encoded query: airnavpro://direct-to?coordinates%3Dwgs84-decimal%26location%3D46.875_7.234%2C0.0%2CWP1%2CGrass%20field
 
Encoded query: airnavpro://direct-to?coordinates%3Dwgs84-decimal%26location%3D46.875_7.234%2C0.0%2CWP1%2CGrass%20field
  
 +
<!--T:22-->
 
It consists of:
 
It consists of:
 
* URL scheme: airnavpro://
 
* URL scheme: airnavpro://
Line 52: Line 55:
 
|}
 
|}
  
 +
<!--T:23-->
 
Waypoint format
 
Waypoint format
 
For any action the waypoint can be defined with different values separated by a comma (,). Waypoints are separated by semicolons (;).
 
For any action the waypoint can be defined with different values separated by a comma (,). Waypoints are separated by semicolons (;).
  
 +
<!--T:24-->
 
Waypoint values:
 
Waypoint values:
 
# Coordinates
 
# Coordinates
Line 66: Line 71:
 
<br />
 
<br />
 
----
 
----
===Direct-to===
+
===Direct-to=== <!--T:25-->
 
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 :
 
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 :
  
 +
<!--T:26-->
 
location=waypoint
 
location=waypoint
  
 +
<!--T:27-->
 
Here are some examples of direct-to URLs :
 
Here are some examples of direct-to URLs :
  
 +
<!--T:28-->
 
WGS84 decimal
 
WGS84 decimal
 
   - airnavpro://direct-to?coordinates=wgs84-decimal&location=46.875_7.234,0.0,WP1,Grass field
 
   - airnavpro://direct-to?coordinates=wgs84-decimal&location=46.875_7.234,0.0,WP1,Grass field
  
 +
<!--T:29-->
 
WGS84 degrees minutes seconds
 
WGS84 degrees minutes seconds
 
   - airnavpro://direct-to?coordinates=wgs84-ddmmss&location=N 12°34′56′′_W 78°12′34′′,0.0,WP1,Grass field
 
   - airnavpro://direct-to?coordinates=wgs84-ddmmss&location=N 12°34′56′′_W 78°12′34′′,0.0,WP1,Grass field
Line 83: Line 92:
 
<br />
 
<br />
 
----
 
----
===Import waypoints to user database===
+
===Import waypoints to user database=== <!--T:30-->
 
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 :
 
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 :
  
 +
<!--T:31-->
 
waypoints=point1;point2;point3
 
waypoints=point1;point2;point3
  
Line 92: Line 102:
 
<br />
 
<br />
 
----
 
----
===Create Route===
+
===Create Route=== <!--T:32-->
 
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:
 
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
 
route-name=myRoute&waypoints=point1;point2;point3
  
 +
<!--T:33-->
 
Here is an example of add-waypoints URLs :
 
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
 
   - 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
Line 102: Line 113:
 
Back to <u>[[Personal_data_management | previous page.]]</u>
 
Back to <u>[[Personal_data_management | previous page.]]</u>
 
<br />
 
<br />
 +
[[Category:Personal data management]]
 
</translate>
 
</translate>

Latest revision as of 19:04, 3 October 2016

Other languages:
English • ‎español





Create Waypoint via URL

In order to help the workflow it is possible to quickly insert waypoints in the application by tapping on a specially formatted URL. The URL can be sent by E-Mail, SMS or browsed on a website.

Supported actions:

  • Direct-to
  • Import waypoints to user database
  • Create route

The URL looks something like this: Clean: airnavpro://direct-to?coordinates=wgs84-decimal&location=46.875_7.234,0.0,WP1,Grass field Encoded query: airnavpro://direct-to?coordinates%3Dwgs84-decimal%26location%3D46.875_7.234%2C0.0%2CWP1%2CGrass%20field

It consists of:

  • URL scheme: airnavpro://
  • An action: direct-to
  • Coordinates format: coordinates=wgs84-decimal
  • waypoint(s): location=46.875_7.234,0.0,WP1,Grass field



Note: The query part of the URL has to be URL encoded in order to support special characters.



Coordinates formats:

  • wgs84-ddmmss
  • wgs84-decimal
  • wgs84-ddmmdecimal
  • utm-std
  • utm-band
  • ups
  • mgrs100
  • mgrs10
  • mgrs1
  • irish
  • ir+zone
  • nzgd1949
  • nzgd2000
  • swiss
  • uk
  • uk+zone
  • rt90
  • sweref99tm

Waypoint format For any action the waypoint can be defined with different values separated by a comma (,). Waypoints are separated by semicolons (;).

Waypoint values:

  1. Coordinates
  2. Elevation (in meters)
  3. Waypoint ID
  4. 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.