Geographic display and input using Marble
At first glance, the KDE Marble project might look like a competitor to other 3D mapping applications, like Google Earth or NASA's World Wind, but it has a very different focus. It has a similar globe view and the navigation is familiar, but, unlike the others, it does not rely upon enormous data sets accessed via the internet; it is, instead, self-contained and fairly lightweight. The intent is to provide a framework for other applications to use so they can incorporate geographic information, while the Marble application is a demonstration and testbed for those ideas.
![[marble globe view]](https://static.lwn.net/images/marble/marbleglobe_sm.png)
The project wants to see Marble used by many different applications, both for input of geographic information and for presenting it. The project lives under the KDE Education Project as one of the applications for Marble is for geographic learning. Many other applications could use a standard framework for displaying maps of various sorts, from games, using their own, possibly fictional maps, to GPS and other visualization tools.
Marble does not rely on OpenGL or any hardware support for 3D, in order to reduce complexity and dependencies, which will serve it well when porting it to embedded devices. The dataset that comes with the program weighs in around 9M and provides reasonable, worldwide, detail. The interface is meant to work like other geographic tools to provide a "geo-widget" that behaves the way users expect, removing one barrier to its acceptance.
The project recently released its 0.4 version, which was easily installed on Fedora 7 using yum. When starting it for the first time, it goes through a setup process, lasting for 30 seconds or so (depending on hardware, of course), but after that, startup is very quick. It opens with a spherical projection view of the earth along the prime meridian allowing users to grab and rotate the earth in various directions.
The navigation is simple, with zoom and pan buttons in addition to the "grab and pull" style. One can also pan the view by moving the mouse to the edges of the display and clicking once the pointer has changed to an arrow indicating a direction. Left-clicking on the map will give the coordinates of the location, whereas right-clicking brings up a menu allowing a few operations to be performed. While not horribly painful, moving around is a bit jerky, tracking noticeably slower than the mouse pointer moves.
![[marble satellite view]](https://static.lwn.net/images/marble/marblesat_sm.png)
The default theme is the atlas view, which looks much like the name implies, with colors and relief shading to represent elevation and ocean depth. Other themes available include a satellite view, using NASA Blue Marble data providing 500 meter per pixel resolution, as well as an "earth at night" view showing populated areas by the amount of light they give off. The information overlaid on the map contains political boundaries, cities keyed by population, lakes and rivers, notable mountains, and a latitude/longitude grid, each of which can be disabled as desired.
Many of the map features can be clicked to bring up information about the location, both from the program data and Wikipedia. The main right-click option is a distance tool, which measures the distance between the two (or more) points. Marble also handles standard GPS .gpx data files, along with support for Google Earth's KML format. Overall, this release provides a limited subset of the capabilities eventually envisioned for the tool.
The main thrust of the 0.5 release is to fully integrate the contributions from three Google Summer of Code (GSoC) students. Improving the KML support, adding gpsd support to talk to to GPS devices, and "flat" projections were completed by the GSoC participants. They have not been fully integrated into the interface for 0.4, but will be for the next release.
Longer term plans include adding support for data from OpenStreetMap, a Wikipedia-like project to map streets and roads worldwide. The project also plans to offer optional OpenGL support to enable hardware acceleration for applications and users who want it. Better resolution satellite data is another area that will be addressed by adding Landsat 15m data.
Marble shows a lot of promise, the current release is stable and useful, though it lacks many features. The key to its success, as a library and framework as opposed to an application in its own right, is in defining an API that is flexible enough for most applications. If the project can get that right, there are lots of ways to use it. Once an API stabilizes, we can expect to see Marble-enabled applications, hopefully soon.
Posted Sep 20, 2007 6:49 UTC (Thu)
by yodermk (subscriber, #3803)
[Link] (3 responses)
Now, perhaps I need to start doing traces around San Antonio! :-)
M$ Streets & Trips is the only big reason I have a Windows partition on my laptop. Replacing it with a Linux solution would be *awesome*. Of course, Linux also needs to improve slightly on power usage and suspend/resume before it will be as ideal as Windows. :(
...
I hadn't heard of Marble before, either. Good stuff!
Posted Sep 20, 2007 7:29 UTC (Thu)
by kms (guest, #6679)
[Link]
OSM recently celebrated its third anniversary.
Mapping in the USA has been slow because the USGS makes large portions of its data available with no restrictions, so there has been little motiviation for US mappers. There has recently been a push to import the TIGER data for the USA, I guess that Portland has been already imported - hence the detail. The TIGER import is ongoing, but due to the sheer volume of data it is predicted to take about a year to complete.
If you are in the USA and are interested in joining the project you should swing by the osm-talk[1] mailing list and ask that the area you will be mapping be bumped to the top of the queue for import, you can then help out by correcting and updating the imported data.
OSM is a global project, so no matter where you live you can contribute. Even if collecting traces with a GPS is not your thing there are plenty of other ways to contribute - tools for processing data, rendering and serving maps, or even just helping to maintain the ever expanding database!
Keith.
[1] http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk
Posted Sep 21, 2007 9:36 UTC (Fri)
by brwk (guest, #6849)
[Link] (1 responses)
I'm amused you mention Portland OR 'cos I know that some significant portions of the downtown were mapped by a fellow Brit while attending a conference there. Personally, I added the I-90 between Chicago and Madison WI, much of Madison WI and the route up to Green Bay WI. I plan to do a bit of the area south of Boston MA when I visit next month...
I'm really excited about the idea of an application like marble taking on the task of using the OSM data - this is what it really needs to get going in a big way - an accessible application which shows people why it's so much better to have the data local and accessible rather than served up in processed-cheese style portions in multiple images which can't be used in any way other than the most simplistic. The moving laptop is an obvious place to want map data, but unless you license software and maps at great cost, it is denied to you. This is exactly the same restrictive practices that free software is about freeing people from. Come on guys, get a GPS receiver, get out there, map your neighborhood and upload it. If we can free the simple knowledge of maps for all to share, we'll have done a really good thing.
Regards, Bevis.
Posted Sep 22, 2007 10:54 UTC (Sat)
by yodermk (subscriber, #3803)
[Link]
Also, does this data include addresses? That would be even more difficult, but pretty necessary if you want directions to a specific place.
Another great project would be a public transportation database, for those without cars.
> The moving laptop is an obvious place to want map data, but unless you license software and maps at great cost, it is denied to you.
Well, Streets & Trips costs under $40, so the cost may be in principle more than price. Other than that, I agree, this is highly desirable.
Posted Sep 20, 2007 9:29 UTC (Thu)
by intgr (subscriber, #39733)
[Link] (1 responses)
Posted Sep 20, 2007 12:59 UTC (Thu)
by jake (editor, #205)
[Link]
I *thought* those looked funny but then got distracted by something else ... fixed now, thanks!
jake
Posted Sep 21, 2007 0:35 UTC (Fri)
by sbishop (guest, #33061)
[Link]
Jake, it's nice to have you on board. Jon is great, but two good editors are better than one. Also, as a KDE user, I also appreciate your apparent KDE tendencies, balancing out Jon's apparent GNOME tendencies. :) Sam
Posted Sep 30, 2007 15:12 UTC (Sun)
by emj (guest, #14307)
[Link]
Why haven't I ever heard of OSM before? How long has it been operating? (I could find no "about" info on their site.) The domain was registered in August 2004, but I wonder how long people have been submitting data. Just curious, because they have a good level of detail for some cities. (See Portland, OR for instance.) If I've never heard of it, how many others haven't, who could potentially contribute GPS traces?OpenStreetMap
> Why haven't I ever heard of OSM before? How long has it been operating?OpenStreetMap
> (I could find no "about" info on their site.) The domain was registered
> in August 2004, but I wonder how long people have been submitting data.
> Just curious, because they have a good level of detail for some cities.
> (See Portland, OR for instance.) If I've never heard of it, how many
> others haven't, who could potentially contribute GPS traces?
>
> Now, perhaps I need to start doing traces around San Antonio! :-)
As a pretty keen OSM mapper myself I'd say come and join us! It's a nice way of contributing back to the free-rather-than-licensed knowledge community - it's a pretty accessible project for those who want to contribute but don't have the time or inclination to write code. I've found it a lot of fun finding all the alternative ways to and from work, friends, etc in order to fill out the map in my area.OpenStreetMap
Well, kms said that the USGS is making its data available for free. Given that, is there a really good reason to do so in the US?OpenStreetMap
Just a note to the editor, the aspect ratio for the thumbnails does not match the original screenshots, making them look horizontally squashed. The world looks flat-ish rather than round on the first thumbnail image. :)Thumbnails
> Just a note to the editor, the aspect ratio for the thumbnails does not match the original screenshots, making them look horizontally squashed. The world looks flat-ish rather than round on the first thumbnail image. :)Thumbnails
bringing balance to the force
Just a note, OpenGL is available in some form on most/many embedded "desktop" platforms.Geographic display and input using Marble