Seite 1 von 1

[SOLVED, 0.73-dev3] Formulas in waypoints for stages do not get parsed automatically

Verfasst: 13. Juni 2019, 20:14
von Die Batzen
If you have waypoints for stages where the coordinates have to be calculated by a formula, those formulas do not get parsed automatically.
On the other hand, this works fine for the final waypoint.

A good example is this multi: Keep on rockin‘ Hegerturmblick - reloaded.
  • send cache to cache solver
  • observe that there are several waypoints for stages where the coordinates have to be calculated
  • go to listing tab, select the N-part of the formula for (e.g.) Stage 2 and click Stage 2 in the following dialog
  • repeat with the E-part
  • switch to Waypoints and Variables tab and have a look at waypoint Stage 2: the coordinates are still shown as 0, i.e. the formula didn't get parsed
If you close the Cache Solver and open again the formula still isn't parsed.
The only way that seems to work is to go into waypoint edit mode and immediately close without changes - then the formulas get parsed.
This holds true for v0.72 and 0.73DEV.

Observations:
  • it works for the final waypoint
  • it works for waypoints that were manually added in the Cache Solver
  • it doesn't work for waypoints that were sent from Locus

Re: Formulas in waypoints for stages do not get parsed automatically

Verfasst: 14. Juni 2019, 07:14
von gawalione
How did you import the cache into Locus?
I tried with PQ and there are only3 stages predefined (Parking, Stage 1 and Final).
What are your settings for the solver?
If i select a formula for Stage 2 and create a standard waypoint the formulas get parsed and the variables show up instantly.

Re: Formulas in waypoints for stages do not get parsed automatically

Verfasst: 14. Juni 2019, 18:39
von Die Batzen
The cache was imported by Geocaching4Locus add-on, import by GC code.
Then you get all waypoints from the listing in Locus. Those, that do not have valid coordinates get N 00° 00.000' and E 000° 00.000' in Locus.

My settings:
Settings.jpg
If i select a formula for Stage 2 and create a standard waypoint the formulas get parsed and the variables show up instantly.
Exactly - if you create a standard waypoint in the Cache Solver, then the formulas get parsed.
But if you try one of those N 00° 00.000', E 000° 00.000' waypoints sent from Locus, then they do not get parsed.

Re: [SOLVED, 0.73-dev3] Formulas in waypoints for stages do not get parsed automatically

Verfasst: 14. Juni 2019, 20:05
von gawalione
I found the reason for this. Will be fixed in next dev version.

Re: [SOLVED, 0.73-dev3] Formulas in waypoints for stages do not get parsed automatically

Verfasst: 20. Juni 2019, 10:37
von Die Batzen
Working very well in 0.73-dev3. :)
Thank you for the quick fix!