Motorcycle Adventures and Free Software

Weblog: Archive

2007-10-01 - 2007-10-31

OpenStreetMap Helsinki is getting pretty good

Posted on 2007-10-01 15:39:38 UTC in 60° 10.794 N 24° 54.702 E Helsinki, FI to . 0 comments.

OpenStreetMap is a project for collaboratively creating open content digital maps of the world. It follows a Wikipedia-like model where interested contributors can go out with GPS receivers, and then turn those track logs into usable map content. And like Wikipedia, it is exploding in the amount of content and quality.

The last time I checked the status of Helsinki on OSM, it was already a bit promising but very initial. Now I went browsing again, and the map starts to look quite complete:

OpenStreetMap of Etu-Töölö, Helsinki

In some things the map is already more complete than competitors like Google Maps. On OSM, depending on the renderer used, the map also contains details like locations of parking lots, pharmacies, ATMs and post boxes. Many restaurants, pubs and cafés are also shown.

That actually shows a strength of the OpenStreetMap approach: people can add the detail they need. There have been projects where different renderer configurations have been used to focus the map on the needs of a special group: for example wheelchair users are very interested in information like how steep some hills are or whether a street is covered in cobblestones.

Showing information like that with a centralized big map provider like Google or Yahoo! would be difficult as it goes much further than just pushpins.

But still, there is much left to do:

In any case, I feel like the map is in a stage where it can be used for web purposes, and hopefully soon also for navigation software. It is a good time to learn the tools and start mapping!

Updated 2007-10-05: Just look at the level of detail here:

Osm-Kampinkeskus-20071005-Mapnik Google Maps doesn't even get close.

Technorati Tags: ,

Sponsored links

Microsoft Certification Exams โนเกีย Nokia มือถือ Online Project Management save money using, phone card
Reviews มือถือ Mobile All Apps

New user management tool for Midgard

Posted on 2007-10-12 12:37:53 UTC in 60° 9.804 N 24° 44.016 E 7km S of Espoo, FI to . 0 comments.

In past there have been two types of user management tools for Midgard: the built-in ones that have supplied lists of users, and then custom-made ones. With former the problem has been that when you have thousands of users the HTML views become slow to load and near impossible to use.

To improve the out-of-the-box situation, a new user management tool was included to Asgard, the new admin UI. The default view is already search-based, enabling quick access to manage the users you need to:

Asgard-Usermanager-Search

The list view enables quick actions:

Asgard-Usermanager-Quickactions-1

The intention is to later devise a plugin architecture so more actions can be added. But for now account removals and addition of users to a group are supported:

Asgard-Usermanager-Quickactions-Addgroup

By clicking the user details can be edited. Changing passwords is also quite easy:

Asgard-Usermanager-Account

When viewing groups, user belonging to then are shown using a chooser widget which allows search-based additions of members. Person's groups are shown in the same way:

Asgard-Usermanager-User-Groups

The new user manager is currently available in both trunk and MidCOM 2.8 SVN, and after some testing will be packaged and released.

Technorati Tags: ,

Information is a key to sustainable transport

Posted on 2007-10-15 15:31:06 UTC in 60° 9.804 N 24° 44.016 E 7km S of Espoo, FI to . 0 comments.

I've written earlier how open data availability could promote public transportation. Openly available public transport schedule and route information would enable small businesses and other innovators to build new kinds of consumer route planning services. These new services in turn would help to make it easier to leave the car home and choose more sustainable transport options.

In addition to buses, trams and metros, bicycles are a very environment-friendly way of commuting. The City of Helsinki is starting to realize and promote this, both by adding new bicycle routes and by being part of the handy bicycle route planner:

Ytv-Kevytliikenne-Reittiopas

Again however the actual data for such route planning is behind closed doors and available only via a web interface. And since most GPS navigator producers are only interested in the car navigation market it is unlikely that someone will make bicycle-friendly options of them.

This is something where the OpenStreetMap project can come to help. OpenStreetMap is volunteer-built open digital map that is already quite good for Helsinki, and which can contain bicycle related data and be used for rendering bike-friendly views. The data can also be used for creating custom navigation applications.

It would be great if more people from the Helsinki cycle commuting area would join the OSM project and start contributing map data relevant for bicyclists!

That could be one of the components easing the transition from this:

Ekurvine Helsinki Traffic

To this:

Samipii Critical Mass

This post was written as part of the 2007 Blog Action Day. Now I will take the bus home :-)

Bloggers Unite - Blog Action Day

Note: the photos are CC-licensed images from Flickr users ekurvine and samipii.

Technorati Tags: , , ,

Midgard does the Tango

Posted on 2007-10-21 07:25:56 UTC in 60° 10.524 N 24° 55.146 E Helsinki, FI to . 0 comments.

As initially instigated by Tuomas and later prepared by Joonas, Midgard has now switched to the Tango icons and colors. This helps to modernize the look-and-feel and make it more consistent across components.

Asgard looks quite nice with the new icons:

Asgard-Tango-Icons

The floating toolbar is also improved:

Midcom-Toolbar-Tango-1

For Midgard 1.9 we will try to do more visual updating of the toolbars together with Andreas.

Technorati Tags: , , ,

GeoNames ambassador to Finland

Posted on 2007-10-21 09:56:01 UTC in 60° 10.524 N 24° 55.146 E Helsinki, FI to . 0 comments.

Geonamesambassadors20071018GeoNames is a very cool repository of open content geographical information. From the site:

The GeoNames geographical database is available for download free of charge under a creative commons attribution license. It contains over eight million geographical names and consists of 6.5 million unique features whereof 2.2 million populated places and 1.8 million alternate names. All features are categorized into one out of nine feature classes and further subcategorized into one out of 645 feature codes.

To help spreading the word and communicating with local mapping agencies, GeoNames has now introduced a group of ambassadors who act as the local contacts of the project. As I've been using GeoNames data and web services heavily in Midgard's GeoCMS features, I'm more than happy to act as the local contact in Finland.

So, if you're already doing something interesting with Finnish GeoNames data, or have questions about using it, please drop me an email!

Technorati Tags: , , ,

Undeletion in Midgard

Posted on 2007-10-24 10:47:56 UTC in 60° 9.804 N 24° 44.016 E 7km S of Espoo, FI to . 0 comments.

A trash can feature for Midgard was discussed originally in the 2006 Komorniki Midgard developer meeting, and the APIs for it made their way into the 1.8.0 release. Yesterday I added trash can browsing and undeletion support into Asgard, the new administrative interface.

To use it, first delete a folder:

Folder-Delete-Toolbar

Currently we ask for confirmation, but now that undeletion works we're going to move to undo instead.

Folder-Delete-Confirm

Then, to undelete it we enter Asgard:

Enter-Asgard-Toolbar

And there to folders (topics), where we see that there are items in trash:

Asgard-Topic-Trash

Clicking the trash can reveals more details:

Asgard-Topic-Trash-List

Clicking undelete will undelete the folder and things under it, giving a set of informative status bubbles:

Asgard-Topic-Trash-Undelete-Status

Going back to the site we can see that the folder and articles under it are there, with even images retrieved from trash:

Midcom-Undeleted-Folder-Is-Back

Technorati Tags: , ,

Get your face on Planet Maemo

Posted on 2007-10-24 21:01:54 UTC in 60° 9.804 N 24° 44.016 E 7km S of Espoo, FI to . 0 comments.

The new Maemo developer device program opened the user profile system on maemo.org. With it, we can now use profile avatars as the hackergotchis on Planet Maemo:

Planet-Maemo-Hackergotchi

So, if your blog is syndicated there, go and upload an avatar for yourself! Easier than begging an administrator to add a hackergotchi...

Technorati Tags: ,

AAA - important milestone for Nemein

Posted on 2007-10-26 10:41:19 UTC in 60° 9.234 N 24° 52.782 E Helsinki, FI to . 0 comments.

We found out a while back that our company, Nemein now has AAA (the highest) credit rating. Quite an important milestone for a free software company started during the dot com bust!

The coveted Triple-A certificate arrived in mail this week:

Nemein-Aaa-Bergie-Joe

Technorati Tags: ,

Mapstraction supports OpenLayers now

Posted on 2007-10-29 20:11:25 UTC in 60° 10.524 N 24° 55.146 E Helsinki, FI to . 0 comments.

Mapstraction is a javascript library that abstracts the usage of the various web map systems out there. Using it you can display Google Maps, Microsoft Virtual Earth, Yahoo! and other maps with same javascript code. And now also OpenLayers, a free software map implementation.

OpenLayers is a very nice addition to the Mapstraction stack, as it can be displayed without need for any API codes or registration. With local OpenStreetMap tiles it could even be used on web servers that are not connected to the regular internet.

Some initial OpenLayers integration had been in Mapstraction for a while, but as I need to display OpenStreetMaps with it in a project I decided to finish the implementation together with Andrew Turner. It is not completely tested yet, but for example Midgard's positioning widget works quite nicely with it already:

Midgard-Position-Editing-Openlayers-Osm

Grab the code from SVN or take a look at an implementation example!

Technorati Tags: , ,

Midgard and HTML Purifier

Posted on 2007-10-30 15:29:47 UTC in 60° 11.148 N 24° 49.704 E 6km W of Helsinki, FI to . 0 comments.

Inspired by Kore Nordmann's post Why are you using BBcodes?, Midgard now has integrated support for the HTML Purifier library. From the HTML Purifier site:

HTML Purifier is a standards-compliant HTML filter library written in PHP. HTML Purifier will not only remove all malicious code (better known as XSS) with a thoroughly audited, secure yet permissive whitelist, it will also make sure your documents are standards compliant, something only achievable with a comprehensive knowledge of W3C's specifications.

This means that it will be reasonably easy to configure access lists of allowed HTML to be used when editing documents with the Datamanager2 library. The same rules will also apply to several tools using DM2 as library, including RSS-based news imports.

As Kore wrote, HTML Purifier makes it possible to use a regular HTML WYSIWYG editor for things like blog comments and forum posts while remaining sure that no abuse happens. With whitelists you can even allow certain cool things like embedding of YouTube videos to posts.

Technorati Tags: ,

Asgard welcome page just got useful

Posted on 2007-10-31 21:03:19 UTC in 60° 10.524 N 24° 55.146 E Helsinki, FI to . 0 comments.

Asgard is the new administrative interface for Midgard we've been working on for the 1.9 release. Today its welcome page just got a lot more useful as we added a way of listing recently modified objects of any type and performing mass actions on them:

Asgard-Welcome-Updated

While this is a good start there are some ideas on how to improve it:

  • Authenticated RSS feed with the same data
  • Mass action plugin API
  • Other data views than just time-based, including:
  • User-based (documents written by Jerry)
  • Permission-based (documents I can edit)
  • Status-based (deleted documents, documents about to expire)

Technorati Tags: ,

Back