spacer

Not logged in

Log in now

Create an account

Subscribe to LWN

LWN Weekly Edition

Front page
Security
Kernel development
Distributions
Development
Announcements
->One big page

 

This page

Previous week
Following week

Recent Features

LWN.net Weekly Edition for September 7, 2012

LinuxCon: funding development

Improving Ubuntu's application upload process

LWN.net Weekly Edition for August 30, 2012

Look and feel lawsuits, the second time around

Printable page
Weekly edition Kernel Security Distributions Contact Us Search
Archives Calendar Subscribe Write for LWN LWN.net FAQ Sponsors

Development

Fun with free maps on the free desktop

March 17, 2010

This article was contributed by Joe 'Zonker' Brockmeier.

Playing with open map data can be a fun pastime. Creating and editing open data can be not only fun, but also a boost for free data to go along with free software. Whether you want to view open map data or edit it, there's no shortage of applications that run on Linux and work well with OpenStreetMap (OSM) data. Here's a look at some useful mapping applications for displaying and editing open map data on the Linux desktop.

Emerillon

spacer

One of the newest map viewers for the free desktop is Emerillon. Announced last October, the Emerillon project is meant to be a simple, open, and extensible map viewer that allows users to browse open map data, search maps, and "placemark" (bookmark) locations for later reference. Even if the project itself is new, the name is laden with history. The name has a dual meaning, as "Émérillon" is a name for a type of falcon once used for falconry and it is the name of one of French explorer Jacques Cartier's boats.

Emerillon is still in early development. The project hasn't tagged any releases as "stable" yet, but tagged a development release in early January. If compiling the package doesn't sound appealing, Matt Trudel has put together an Ubuntu package of the 0.1.0 release for Ubuntu 9.10.

The interface is clean and easy to use, and the map rendering is very attractive. Once Emerillon is loaded, just use the mouse to drag to the location you'd like to see or search for a location. Zoom in and out using the mouse scroll wheel or magnifying glass icons on the top location bar. There's not a lot to the interface and it shouldn't take any time at all to start using Emerillon. It doesn't require manual intervention to get map data as it automatically uses OSM data. Emerillon can be a bit slow rendering, but not overly so. It might take five to 10 seconds to render the map when selecting a new location or zooming in or out. It's not quite as speedy as Marble, but it gets the job done.

Despite the relative newness of Emerillon, it is worth a look if the only requirement is a stable OSM viewer. It's a usable map viewer for browsing standard OpenStreetMap street views, public transportation maps, cycling maps, or terrain data. To get routing data, it is possible to copy the current location to Google Maps or Yahoo! Maps to generate a route. Emerillon doesn't have any features yet for printing or exporting maps.

Most of Emerillon features are derived from plugins. The functionality is fairly limited otherwise for now, but the plugins page includes a number of ideas for future development — including routing data, working with GPSes, and integration with Telepathy to allow sharing of location data.

Marble

spacer

Marble is one of the best-known map-viewers for Linux. Marble works with a number of different data sets, including OSM, and a number of custom maps including historical maps from the 1700s, satellite views of the Earth, temperature and precipitation, and even maps of the Moon and Venus. While the navigational value of having maps from the 1700s or of Venus is scant, there's a lot of educational value in being able to display other celestial bodies and maps from different eras.

Marble presents its maps, dubbed "themes" in the Marble interface, using a globe projection by default. Users can switch to a flat or Mercator projection if they prefer. In addition to displaying map data, Marble can also display photos tagged with geographic data or Wikipedia articles associated with a location if the Photos and Wikipedia plugins are enabled.

After opening Marble, it will zoom in on the user's "home" location if set, on the last theme used. The home location is set by right-clicking on the map view and choosing "Set Home Location." Navigating around the map is done by clicking and dragging, or using the mouse scroll button to zoom in and out on specific areas of the map. Marble features an interesting animation when performing searches. When using the Search sidebar, type in a city name or location and Marble will zoom out to a full Earth view and then zoom in again on the search location.

spacer

Marble can be used to measure the distance between two locations on the globe by adding "measure points" with the context menu. The total distance will be displayed in the map overlay. Users can copy and print map views from Marble for later use, but it doesn't provide any way to "save" the views for later.

By itself, Marble is primarily geared for educational use and displaying different parts of the globe. It's not designed for creating route maps or giving any kind of street directions. You can view maps designed for navigation, like the OSM Cycle Map, but Marble doesn't do point A to point B directions. However, Marble is also an embeddable widget that can be used in other Qt applications. This means that any application that needs to display map data can include Marble and rely on it for rendering.

Since Marble has been around for quite some time, most Major Linux distros include it in their package repositories. It's available under the LGPLv2, and additional maps are available from KDE's "Get Hot New Stuff."

Merkaartor

spacer

If viewing maps isn't enough, why not try editing them? Merkaartor is an application for editing OSM maps. It actually works with several formats, beyond OpenStreetMap. Merkaartor will import OpenStreetMap, GPS Exchange Format, KML Files, Noni GPSPlot, and several others. The export formats are a bit more limited, with OpenStreetMap, GPS Exchange Format, and KML supported.

Merkaartor will open any of the supported formats, or download data from OSM. There's a limit on how much data Merkaartor will download at any given time, so it may take a few tries to get the request right and get all of the desired map data. Once it has data, users can edit map data and upload it to OpenStreetMap (assuming the user has an OpenStreetMap account).

It can also provide an interesting look into the existing OSM data, and will show which users uploaded specific data. Assuming a bit of experience with editing map data, Merkaartor seems easy to get started with and use. It's not for casual OpenStreetMap users, but should be a valuable tool for contributors. For viewing maps, Merkaartor isn't as usable as Marble or Emerillon and doesn't render the maps quite as attractively.

Merkaartor not only works with standard map formats, it will also render maps to SVG and Bitmap formats. This could be useful if you want to include OSM data in a publication, or just whip up a quick map with directions to your next party.

Conclusion

What would be nice to have is an application that makes it easy to simply punch in a few addresses and create a route. While a few free and open source desktop apps exist to work with GPSes or GPS data, they're not particularly intuitive or easy to get started with. The state of editing and viewing OSM data is pretty good on Linux, but there's still much to be desired for using that data to get from point A to point B.

Comments (11 posted)

Brief items

Amarok 2.3.0 is out

spacer Version 2.3.0 of the Amarok music player has been released. "Areas such as podcast support and saved playlists have seen huge improvements, as has the support for USB mass storage devices (including generic MP3 players). With large parts of Amarok 2 becoming quite mature, it was also time to start looking forward again. Therefore, this release also contains a number of new features of a slightly more experimental nature. These include a new main toolbar and a rewritten and much simpler file browser."

Comments (8 posted)

Google's RE2 regular expression library

Google has announced the release of its RE2 library under a BSDish license. "At Google, we use regular expressions as part of the interface to many external and internal systems, including Code Search, Sawzall, and Bigtable. Those systems process large amounts of data; exponential run time would be a serious problem. On a more practical note, these are multithreaded C++ programs with fixed-size stacks: the unbounded stack usage in typical regular expression implementations leads to stack overflows and server crashes. To solve both problems, we've built a new regular expression engine, called RE2, which is based on automata theory and guarantees that searches complete in linear time with respect to the size of the input and in a fixed amount of stack space." More information can be found on the RE2 project page.

Comments (32 posted)

Monotone 0.47 released

Version 0.47 of the monotone version control system is out. There's a number of fixes, some significant performance improvements, and some changes to how certain subcommands operate; see the NEWS file for details.

Full Story (comments: none)

Parrot 2.2.0 released

Version 2.0 2.2.0 of the Parrot virtual machine is out. There's a number of changes listed in the announcement ("Most internal allocations now use the GC, RNG non-randomness fixes, Elimination of much dead code, ..."), but most of them do not appear to be major.

Full Story (comments: 22)

passwdqc 1.2.0 released

Solar Designer has announced the release of passwdqc 1.2.0. Passwdqc is a toolkit for password strength checking and policy enforcement; this release includes a number of new features. "The random passphrases offered by pam_passwdqc, pwqgen, as well as by the passwdqc_random() function in libpasswdqc, will now encode more entropy per separator character and per word, increasing their default size from 42 to 47 bits. The size of 42 bits was adequate to withstand not-too-powerful attacks against bcrypt hashes that we use on Owl, but it was inadequate with weaker hashes that many other systems use."

Full Story (comments: none)

PostgreSQL 2010-03-15 cumulative bug-fix release

The PostgreSQL project has put out a bug-fix update for versions 8.4.3, 8.3.10, 8.2.16, 8.1.20, 8.0.24, and 7.4.28 of the system. "This release provides a workaround for some third-party SSL libraries, as well as multiple fixes for minor uptime and data integrity issues. All database administrators are urged to update your version of PostgreSQL at your next scheduled downtime." Also noted is the fact that versions 7.4 and 8.0 will not receive updates after June, so sites using those releases should be thinking hard about upgrading.

Full Story (comments: none)

PyPy 1.2 released

Version 1.2 of PyPy - an alternative implementation of the Python interpreter - has been released. "This version 1.2 is a major milestone and it is the first release to ship a Just-in-Time compiler that is known to be faster than CPython (and unladen swallow) on some real-world applications (or the best benchmarks we could get for them). The main theme for the 1.2 release is speed." It's still not quite ready for production use, but it appears to be getting a lot closer.

Comments (1 posted)

SeaMonkey 1.x goes unsupported

The developers behind SeaMonkey have announced that there will no longer be support for the 1.x versions of the browser suite. "As the SeaMonkey 1.x series no longer receives security updates, due to resource constraints, the SeaMonkey team strongly urges users of that series to upgrade. Additionally, the team continues to strongly urge people still using the old Mozilla Suite or Netscape 4, 6 or 7 to upgrade to the new SeaMonkey 2.0 version. All these older software packages suffer from a large, and steadily increasing, number of security vulnerabilities because they are no longer being maintained."

Full Story (comments: none)

Newsletters and articles

Newsletters published in the last week

  • Caml Weekly News (March 16)
  • OpenOffice.org Newsletter (March 16)
  • PostgreSQL Weekly News (March 14)
  • Python-URL! (March 17)

Comments (none posted)

Piël: Benchmark of Python Web Servers

Here is an extensive set of performance benchmark results from 14 Python web application servers, done by Nicholas Piël. "The top performers are clearly FAPWS3, uWSGI and Gevent. FAPWS3 has been designed to be fast and lives up the expectations, this has been noted by others as well as it looks like it is being used in production at Ebay. uWSGI is used successfully in production at (and in development by) the Italian ISP Unbit. Gevent is a relatively young project but already very successful. Not only did it perform great in the previous async server benchmark but its reliance on the Libevent HTTP gives it a performance beyond the other asynchronous frameworks."

Comments (3 posted)

Linux Arpeggiators, Part 1 (Linux Journal)

Dave Phillips looks at arpeggiators for Linux. "An arpeggio is a musical technique whereby the notes of a chord are played in succession rather than all at once. The order of the chord notes in this succession may follow a strict set of rules or they may be played in purely random sequence. A device that acts upon a chord in this manner is known as an arpeggiator."

Comments (16 posted)

Page editor: Jonathan Corbet
Next page: Announcements>>

Copyright © 2010, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds

gipoco.com is neither affiliated with the authors of this page nor responsible for its contents. This is a safe-cache copy of the original web site.