Usage » History » Version 1
Rob Tjalma, 09/09/2016 12:23 PM
1 | 1 | Rob Tjalma | h1. Usage |
---|---|---|---|
2 | 1 | Rob Tjalma | |
3 | 1 | Rob Tjalma | h3. Search options. |
4 | 1 | Rob Tjalma | |
5 | 1 | Rob Tjalma | The search can be used in different ways: |
6 | 1 | Rob Tjalma | * By name |
7 | 1 | Rob Tjalma | * By coordinate |
8 | 1 | Rob Tjalma | |
9 | 1 | Rob Tjalma | h3. By name |
10 | 1 | Rob Tjalma | |
11 | 1 | Rob Tjalma | When searching by name, it will use the GeoNames API and the SQLite database. |
12 | 1 | Rob Tjalma | In this case, the search definition must be alphanumeric. It cannot be empty. |
13 | 1 | Rob Tjalma | |
14 | 1 | Rob Tjalma | h3. By coordinate |
15 | 1 | Rob Tjalma | |
16 | 1 | Rob Tjalma | In case of searching by coordinate, the search definition must be: |
17 | 1 | Rob Tjalma | <pre> |
18 | 1 | Rob Tjalma | lon,lat |
19 | 1 | Rob Tjalma | </pre> |
20 | 1 | Rob Tjalma | |
21 | 1 | Rob Tjalma | Examples of coordinate searches: |
22 | 1 | Rob Tjalma | <pre> |
23 | 1 | Rob Tjalma | 3,3 -> Correct |
24 | 1 | Rob Tjalma | 145,-5 -> Correct |
25 | 1 | Rob Tjalma | -44,170 -> Incorrect, latitude can not be bigger than 90/-90 |
26 | 1 | Rob Tjalma | -18.433,32.854 -> Correct |
27 | 1 | Rob Tjalma | </pre> |