Closed qgis2000 closed 4 days ago
This is related to #396
I can change the format and coordinates are calculated in new format but... there is such a case: I enter the coordinates of the base station in the X/Y/Z-ECEF format. Then I switch the format to Lat/Lon/Height (dms/m) and it's ok. Then I return to the X/Y/Z-ECEF format and the coordinates are converted correctly but displayed with a space as the thousands spearator, which is correct. Now, however, when I switch to the Lat/Lon/Height (dms/m) format, Lat=-90° 0' 0.000000" Lon=0° 0' 0.000000" appear.
When base station coordinates X/Y/Z-ECEF format is set and the coordinates are with group separator (thousands separator) calculations are not performed.
I made the input validation respect the system localisation. Please test if this fixes the problem for you.
Now works when: a) there is no group separator in coordinates, b) all group separators are in coordinates. However, if I remove even one space (group separator) from any of the coordinates, rtkpost does not perform the calculations. Also, when I remove a space, I can no longer type it again.
I do not demand localization of the program. It may or may not be. I'm just reporting a problem.
The Qt GUI is specially designed to be easy for users. This includes localization.
The latest update does not use self-written regular expressions anymore, but use standard validations. Additionally, invalid inputs are highlighted and the format cannot be changed anymore if the input is not valid. This should prevent users from losing their inputs.
Ok. Invalid inputs are in red and then rtkpost calculatins are not performed (Q=0). Change of format works. Thank you.
In Options..., Positions tab, I have the base station coordinates in the X/Y/Z-ECEF format. When I change the format to Lat/Lon/Heigth (deg/m) then Lat=-90.000000000 ° and Lon=0.000000000 °