Revision a9e8b47...

Go back to digest for 30th September 2012

Features in Educational

Javier Becerra Elcinto committed changes in [marble] /lib:

Add support for TileMapServer storageLayout in DGML files

Add support for TileMapServer storageLayout in DGML files (it is similar
to OpenStreetMap mode, but y coordinates start at the bottom of the map
rather than at the top).
Changes include a new TmsServerLayout class to transfom the y coordinate
and modifications in GeoSceneTexture::relativeTileFileName to take into
account the new TmsServerLayout (tiles are stored locally with the same
filename as it would have in the remote server, allowing the use of
locally stored maps without changing the filenames).
As a side note, running "marble --tile-id" will show the original marble
coordinates (y starting at top), not the TMS ones, which can be
confusing. Moreover, two textures can be mixed with different
modes (i.e. OpenStreetMap and TileMapService), and only the OSM tile-id
will be shown.
REVIEW: 104042

File Changes

Modified 5 files
  • /lib
  •   src/ServerLayout.cpp
  •   src/ServerLayout.h
  •   src/geodata/scene/GeoSceneTexture.cpp
  •   src/geodata/scene/GeoSceneTexture.h
  •   src/geodata/handlers/dgml/DgmlStorageLayoutTagHandler.cpp
5 files changed in total