[Marble-devel] Review Request 116831: Read/write gx:altitudeMode for KML LookAt tags

Cruceru Calin-Cristian crucerucalincristian at gmail.com
Sun Mar 16 11:28:01 UTC 2014


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

(Updated March 16, 2014, 1:28 p.m.)


Review request for Marble.


Changes
-------

Described more in detail.
Updated the patch since I forgot to add the <gx:altitudeMode>clampToSeaFloor</gx:altitudeMode> to tests/data/LookAtTest.kml.


Bugs: 332108
    http://bugs.kde.org/show_bug.cgi?id=332108


Repository: marble


Description (updated)
-------

The gx:altitudeMode can now be read from and written to KML files inside the LookAt tag.
- Moved the altitudeMode getter and setter from GeoDataCamera up to GeoDataAbstractView;
- Changed KmlaltitudeModeTagHandler and KmlGxAltitudeModeTagHandler to check for GeoDataAbstractView instead of GeoDataCamera;
- Now the altitude mode in KmlLookAtTagWriter is written just like in KmlCameraTagWriter;
- Added a <gx:altitudeMode>clampToSeaFloor</gx:altitudeMode> to tests/data/LookAtTest.kml.


Diffs (updated)
-----

  src/lib/marble/geodata/data/GeoDataAbstractView.h b136e4f 
  src/lib/marble/geodata/data/GeoDataAbstractView.cpp ca44659 
  src/lib/marble/geodata/data/GeoDataCamera.h 2aa2578 
  src/lib/marble/geodata/data/GeoDataCamera.cpp de5191d 
  src/lib/marble/geodata/data/GeoDataCamera_p.h 37ced50 
  src/lib/marble/geodata/handlers/kml/KmlAltitudeModeTagHandler.cpp 2968aea 
  src/lib/marble/geodata/handlers/kml/KmlGxAltitudeModeTagHandler.cpp 00785d3 
  src/lib/marble/geodata/writers/kml/KmlLookAtTagWriter.cpp 046a3cc 
  tests/data/LookAtTest.kml 60ce73c 

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


Testing (updated)
-------

I tested it using tests/TestGeoDataWriter and it works as expected.


Thanks,

Cruceru Calin-Cristian

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/marble-devel/attachments/20140316/aa94eddb/attachment.html>


More information about the Marble-devel mailing list