KDE Marble
| Marble | |
|---|---|
| Author: | |
| Website: | http://edu.kde.org/marble/ |
| Version: | 1.3.0 (2012-01-25) |
| License: | GPL |
| Platform: | win ; macos ; linux ; maemo |
|
GoogleEarth like 3D globe for different layers, animation,... | |
Marble is a A KDE globe program and also a widget for displaying or editing geographic data in other KDE applications
Website: http://edu.kde.org/marble/
Wikipedia article: Marble (KDE)
Contents |
OpenStreetMap Integration
Marble supports different map themes. One of them is OpenStreetMap's Mapnik tiles. They can be activated in the 'Map View' panel (bottom left) by clicking on the "OpenStreetMap" theme. The search function of Marble queries nominatim.openstreetmap.org among other services. Routing is possible using OpenRouteService, MoNav, Routino, Gosmore and YOURS as backend. Since version 1.0, turn-by-turn navigation and a route guidance mode is supported. Torsten Rahn gave a presentation about Marble at State Of The Map 2008
Make Marble use Osmarender tiles
Install the Osmarender OpenStreetMap map theme via File -> Download Maps from within Marble (KDE version, 0.10 or later).
Making a very high-res image
You can simply take a screenshot of Marble to get a fairly big image of an OpenStreetMap globe, but this is limited by your screen-resolution, and for printing you may want a high-er resolution (bigger) image.
This can be done by simulating a giant desktop. Most of these commands need to be executed in their own window or backgrounded with &)
- with Ubuntu you will need the packages:
xvfb x11vnc xvnc4viewer imagemagick netpbm -
mkdir /tmp/marblefb -
Xvfb -ac :1 -fbdir /tmp/marblefb -screen 0 4096x4096x24
or whatever resolution you want -
x11vnc -scale .5 -display :1
the scale factor will make it easier to work with your big desktop - less scrollbars. You can even go so far as to use .1 or so because you only need the mouse to move the globe around. -
vncviewer localhost :0
this should open an empty window - yes :0 is correct here even though the rest has :1 -
DISPLAY=:1 marble -geometry 4096x4096+0+0
or whatever resolution you used for Xvfb - now play with Marble until you like the picture
-
xwdtopnm < /tmp/marblefb/Xvfb_screen0 | pnmtopng > /tmp/marble.png - now you can terminate the lot and use /tmp/marble.png
Frederik Ramm used these techniques to create graphics for an OpenStreetMap flyer. [1]
