This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:coordinatedialog [2018/08/01 08:05] – matze2 | en:coordinatedialog [2022/02/20 12:55] (current) – [Waypoint Calculator] Fix link lineflyer | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | FIXME **Note to translators: | ||
- | |||
====== Coordinate input dialog ====== | ====== Coordinate input dialog ====== | ||
{{: | {{: | ||
- | The coordinate input dialog is opened if you click on the coordinate field while editing a [[cachedetails# | + | The coordinate input dialog is opened if you tap on the coordinate field while editing a [[cachedetails# |
- | The {{:abc_ic_clear_normal.png? | + | The {{:ic_menu_cancel.svg? |
<WRAP center round tip 60%> | <WRAP center round tip 60%> | ||
Line 18: | Line 16: | ||
{{: | {{: | ||
- | By clicking | + | By tapping |
If you already entered coordinates these will be converted into the selected format. | If you already entered coordinates these will be converted into the selected format. | ||
Line 26: | Line 24: | ||
{{: | {{: | ||
- | Use these fields to enter the coordinates. By clicking | + | Use these fields to enter the coordinates. By tapping |
The layout of these input field depends on the coordinate format you selected above. | The layout of these input field depends on the coordinate format you selected above. | ||
Line 39: | Line 37: | ||
|My coordinates|Will insert your current position into the coordinate fields.| | |My coordinates|Will insert your current position into the coordinate fields.| | ||
|Cache coordinates|Will insert the cache listing coordinates into the coordinate fields.| | |Cache coordinates|Will insert the cache listing coordinates into the coordinate fields.| | ||
- | |[[coordinatedialog# | + | |[[.: |
|From clipboard|This button is only shown if your clipboard contains valid coordinates and will paste them into the coordinate fields.| | |From clipboard|This button is only shown if your clipboard contains valid coordinates and will paste them into the coordinate fields.| | ||
|Clear coordinates|Empties the coordinate fields.| | |Clear coordinates|Empties the coordinate fields.| | ||
Line 46: | Line 44: | ||
{{anchor: | {{anchor: | ||
- | {{: | + | The usage of the waypoint calculator |
- | + | ||
- | c:geo offers a calculator for waypoints, which allows to make use of variables and formulas to calculate coordinates based on the result. | + | |
- | + | ||
- | Once you clicked on '' | + | |
- | + | ||
- | The {{: | + | |
- | + | ||
- | <WRAP center round tip 60%> | + | |
- | You can use the calculator also for preparing your field trip by entering the needed variables and formulas but not yet entering values for your variables.\\ | + | |
- | This will of course not yet provide a valid result, but you can still save the current state at any time by saving your changes in the calculator and afterwards saving | + | |
- | </ | + | |
- | + | ||
- | Clicking on the first field will open a drop down menu allowing to change between different coordinate formats as explained [[coordinatedialog# | + | |
- | + | ||
- | For easier understanding we will use an example of how the calculator | + | |
- | + | ||
- | + | ||
- | ==== Main variable assignment ==== | + | |
- | {{anchor: | + | |
- | + | ||
- | {{ : | + | |
- | + | ||
- | By default this section will show the cache coordinates as a starting point for assigning your variables. | + | |
- | + | ||
- | By __short clicking__ on each digit you can cycle between the following functions for this specific digit: | + | |
- | + | ||
- | * **Assigning a variable to this digit**\\ Will assign the next unused variable (A-Z) to this digit. | + | |
- | * **Omit this digit**\\ Will remove this digit completely from the calculation. This will allow solutions with more than one digit in the neighboring variables. | + | |
- | * **Return to the original state**\\ Will show the original value again. | + | |
- | + | ||
- | Furthermore you can __long click__ each digit to manually enter a number or variable. | + | |
- | + | ||
- | The result could look like this example: | + | |
- | + | ||
- | {{ : | + | |
- | + | ||
- | ==== Main variable input ==== | + | |
- | {{anchor: | + | |
- | + | ||
- | <WRAP center round important 100%> | + | |
- | For the main variables you always have to use CAPITAL letters (A-Z), whereas for the sub variables (described | + | |
- | </ | + | |
- | + | ||
- | The section below the coordinate field will show fields for all the main variables you assigned | + | |
- | + | ||
- | {{ : | + | |
- | + | ||
- | You can now use these fields to assign a formula using sub variables (lower case a-z) to calculate the result for the main variables. | + | |
- | + | ||
- | The following operators are supported in these formulas: | + | |
- | + | ||
- | ^ Operator ^ Function ^ Example ^ | + | |
- | |+|Addition|a+b| | + | |
- | |-|Subtraction|a-b| | + | |
- | |*|Multiplication|a*b| | + | |
- | |/ | + | |
- | |%%^%%|Potentiate|a%%^%%b| | + | |
- | |%|Modulo|a%10| | + | |
- | |( )|Parenthesis|(a+b)*c| | + | |
- | + | ||
- | In our example, we use the following formulas for the main variables (as e.g. provided by the cache owner in the cache description) to continue: | + | |
- | + | ||
- | {{ : | + | |
- | + | ||
- | ==== Sub variable assignment ==== | + | |
- | {{anchor: | + | |
- | + | ||
- | <WRAP center round important 100%> | + | |
- | For the sub variables you always have to use lower case letters (a-z), whereas for the main variables (described further above) you always have to use CAPITAL letters (A-Z)! | + | |
- | </ | + | |
- | + | ||
- | After assigning formulas to the main variables, an input field will be added automatically for each sub variable (lower case a-z) used in these formulas. | + | |
- | + | ||
- | These input fields can now be used to enter numeric values, which will then be used for automatic calculation of the result coordinates using the formulas provided. You can close and save the calculator state at any time now and return to the calculator to enter the next sub variable value as soon as you found it while doing your cache. | + | |
- | + | ||
- | <WRAP center round tip 100%> | + | |
- | Depending | + | |
- | You might also rotate your device into landscape mode to have all variables visible on your display. | + | |
- | </ | + | |
- | + | ||
- | In our example we did now find the values for a,b and c and entered them accordingly: | + | |
- | + | ||
- | {{ : | + | |
- | + | ||
- | ==== Result prediction ==== | + | |
- | {{anchor: | + | |
- | + | ||
- | While you enter the formulas for the main variables and the values for the sub variables the result will be shown - on the fly in the result section. | + | |
- | + | ||
- | Digits not yet valid will be replaced by '' | + | |
- | + | ||
- | In our example a valid result is shown: | + | |
- | + | ||
- | {{ : | + | |
- | + | ||
- | ==== Calculator notes ==== | + | |
- | {{anchor: | + | |
- | + | ||
- | The last section in the calculator can be used to enter or paste notes, which can be helpful to e.g. copy parts of the cache description containing the calculations required to find the cache. | + | |
- | + | ||
- | The content of the calculator note will be synchronized to the note of the waypoint used to calculate. | + | |
- | + | ||
- | ==== Using '' | + | |
- | {{anchor: | + | |
- | + | ||
- | Entering coordinates or coordinate formulas in //Plain// mode works completely different compared to the fixed formats. Instead of having a clickable field for each digit there are two free text fields to enter the latitude and longitude part of a coordinate. | + | |
- | + | ||
- | A single digit or a group of digits can be replaced by a formula surrounded with parenthesis. The variables used in the formulas must consist oft single CAPITAL letters. | + | |
- | + | ||
- | Often cache listings provide their waypoint coordinates already in this expected format. Therefore the plain mode is best suited when coordinates should be taken over "as is" from the listings. | + | |
- | + | ||
- | {{ : | + | |
- | + | ||
- | The Plain mode works best with coordinates in [[coordformat|MinDeg format]] '' | + | |
- | + | ||
- | To enter the Plain mode change the " | + | |
- | + | ||
- | Taking the example in the screenshot above, copy the North part of the coordinate into the first (latitude) input field and the East part into the second (longitude). If the coordinate contains formulas with variables the corresponding variable input fields appear below. | + | |
- | + | ||
- | {{ :en: | + | |
- | + | ||
- | The formulas from the screenshot produce input fields for I, K, L, M and N. | + | |
- | You can fill the variable fields with values in the same way as with the fixed formats described in the previous sections. | + | |
- | + | ||
- | As soon as the input for all variable fields is complete the result prediction usually turns into white and shows the calculated coordinate. | + | |
- | + | ||
- | {{ : | + | |
- | + | ||
- | In some cases the result field still stays gray because the coordinate parser could not interpret the initial coordinate input correctly. In the screenshot below there is a misplaced SPACE character between two digits | + | |
- | + | ||
- | {{ : | + | |
- | + | ||
- | Typical problems with coordinates copied from listings are: | + | |
- | * lower case variable names; variables must consist of capital letters | + | |
- | * space between digits within a group (N45° 5.(K) (I/ | + | |
- | * space before the degree sign (N45 ° 5.(K)(I/ | + | |
- | * space before the decimal point (N45° 5 .(K)(I/ | + | |
- | * space after the decimal point (N45° 5. (K)(I/ | + | |
- | * wrong minus sign: there are many [[https:// | + | |
- | * wrong multiplication sign: sometimes an " | + | |
- | * wrong division sign: sometimes a colon (":" | + | |
- | + | ||
- | As with the other formats above the state of calculator can be saved at any time. | + | |
- | + | ||
- | ==== Further information ==== | + | |
- | {{anchor: | + | |
- | + | ||
- | The contributor of the calculator code, published some videos presenting different usage examples for the calculator: | + | |
- | + | ||
- | {{youtube> | + | |
- | + | ||
- | {{youtube> | + | |
- | + | ||
- | {{youtube> | + | |
- | + | ||
- | {{youtube> | + | |
- | + | ||
- | + |