-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/123579/
-----------------------------------------------------------

Review request for Marble.


Repository: marble


Description
-------

Two different tasks have been accomplished concerning UTM coordinate system:

1. The UTM grid rendering has been fixed. Now the grid and labels are drawn as 
expected (see http://upload.wikimedia.org/wikipedia/commons/e/ed/Utm-zones.jpg 
for comparison)
2. Some UTM functions have been added in order to properly calculate and 
display the coordinates on the status bar. Those functions have been wrapped in 
the new GeoDataUTM namespace inside GeoDataCoordinates.cpp If you prefer to see 
the functions integrated in the GeoDataCoordinates class, please, let me know.
 
**Still to be fixed**: The UTM string showed in the status bar is too long for 
the text field in which it is shown. I have not been able to change its size, 
as I have not found the relevant .ui file; where in the code should I check to 
change that?

**Note**: The lat/lon <-> UTM conversion algorithm has been adapted from this 
JavaScript code http://home.hiwaay.net/~taylorc/toolbox/geography/geoutm.html. 
The author says in the page "The JavaScript source code in this document may be 
copied and reused without restriction", and I have linked the website in the 
code. However, as I am not sure about all the licenses and authoring stuff, I 
would like you to review it.


Diffs
-----

  src/lib/marble/geodata/data/GeoDataCoordinates.h 
6efabd047f8f3aff63381facb78cb371c0740bf4 
  src/lib/marble/geodata/data/GeoDataCoordinates.cpp 
fe74a2e42db921b152a29ef04246ceaaa16c2325 
  src/plugins/render/graticule/GraticulePlugin.cpp 
a5e6d14a921c66d55cf01e39b16564dedcf6532b 

Diff: https://git.reviewboard.kde.org/r/123579/diff/


Testing
-------

Changes tested in master branch @ 1st May.
Grid and coordinates work well (except for the displaying issue explained 
above) and are consistent with the UTM coordinate system.


Thanks,

Alejandro García Montoro

_______________________________________________
Marble-devel mailing list
Marble-devel@kde.org
https://mail.kde.org/mailman/listinfo/marble-devel

Reply via email to