Usage » History » Version 3
Rob Tjalma, 09/12/2016 08:48 AM
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 | 2 | Rob Tjalma | In this case, the search definition must be alphanumeric and it cannot be empty. |
13 | 2 | Rob Tjalma | |
14 | 2 | Rob Tjalma | Also, the search is not case-sensitive. |
15 | 1 | Rob Tjalma | |
16 | 1 | Rob Tjalma | h3. By coordinate |
17 | 1 | Rob Tjalma | |
18 | 1 | Rob Tjalma | In case of searching by coordinate, the search definition must be: |
19 | 1 | Rob Tjalma | <pre> |
20 | 3 | Rob Tjalma | lat,lon |
21 | 1 | Rob Tjalma | </pre> |
22 | 1 | Rob Tjalma | |
23 | 1 | Rob Tjalma | Examples of coordinate searches: |
24 | 1 | Rob Tjalma | <pre> |
25 | 1 | Rob Tjalma | 3,3 -> Correct |
26 | 3 | Rob Tjalma | -5,145 -> Correct |
27 | 3 | Rob Tjalma | 170,-44 -> Incorrect, latitude can not be bigger than 90/-90 |
28 | 3 | Rob Tjalma | 32.854,-18.433 -> Correct |
29 | 1 | Rob Tjalma | </pre> |