(Marked this version for translation) |
|||
(5 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
<br /> | <br /> | ||
---- | ---- | ||
+ | __TOC__ | ||
<br /> | <br /> | ||
− | ==Create Waypoint via URL== <!--T: | + | ---- |
+ | ==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: | + | <!--T:20--> |
Supported actions: | Supported actions: | ||
* Direct-to | * Direct-to | ||
Line 13: | Line 15: | ||
* Create route | * Create route | ||
− | <!--T: | + | <!--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: | + | <!--T:22--> |
It consists of: | It consists of: | ||
* URL scheme: airnavpro:// | * URL scheme: airnavpro:// | ||
Line 53: | Line 55: | ||
|} | |} | ||
− | <!--T: | + | <!--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: | + | <!--T:24--> |
Waypoint values: | Waypoint values: | ||
# Coordinates | # Coordinates | ||
Line 66: | Line 68: | ||
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 | 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 | Here is a full example with elevation, ID and name data: 46.875_7.234,0.0,WP1, Antenna | ||
− | + | <br /> | |
− | ===Direct-to=== <!--T: | + | ---- |
+ | ===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: | + | <!--T:26--> |
location=waypoint | location=waypoint | ||
− | <!--T: | + | <!--T:27--> |
Here are some examples of direct-to URLs : | Here are some examples of direct-to URLs : | ||
− | <!--T: | + | <!--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: | + | <!--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 | ||
− | |||
Swissgrid CH1903 | Swissgrid CH1903 | ||
- airnavpro://direct-to?coordinates=swiss&location=602030.68_191775.03,0.0,WP1,Zimmerwald | - airnavpro://direct-to?coordinates=swiss&location=602030.68_191775.03,0.0,WP1,Zimmerwald | ||
− | + | <br /> | |
− | ===Import waypoints to user database=== <!--T: | + | ---- |
+ | ===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: | + | <!--T:31--> |
waypoints=point1;point2;point3 | waypoints=point1;point2;point3 | ||
− | |||
Here is an example of add-waypoints URLs : | 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 | - 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 | ||
− | + | <br /> | |
− | ===Create Route=== <!--T: | + | ---- |
+ | ===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: | + | <!--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 111: | 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
Contents
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:
|
|
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.