| Subcribe via RSS

libchamplain 0.2.7

November 16th, 2008 | No Comments | Posted in Gnome, OpenStreetMap, Technologie, libchamplain

I am announcing the release of libchamplain 0.2.7. Libchamplain is a ClutterActor to display maps.  Libchamplain-gtk is a Gtk+ widget wrapping it.

This is a screenshot of the demo launcher displaying OpenStreetMap data for Helsinki (Finland).

This is a screenshot of the demo launcher displaying OpenStreetMap data for Helsinki (Finland).


Enhancements:

  • Double clicking on the map will now zoom and recenter.
  • When resizing a ChamplainView, the centered content will still be centered after the resizing.  Can be disabled.
  • The Map’s license is displayed by default on the lower right corner. Can be hidden.

Fixes:

  • Fix a memory leak
  • Some code clean-up
  • Fix Bug 558026 – zoom in + center_on != center_on + zoom in
  • Fix missing zoom level in OpenStreetMap Mapnik

libchamplain-gtk has been version bumped to 0.2.7 - no changes since 0.2.6.

This should be the last release of the 0.2 series.  I plan to rewrite part of the internals to better follow the MVC principle, which will improve the code’s readability and allow for more complex features to be introducted in the future.

More info on the project page.

Ma première contribution à OpenStreetMap

September 16th, 2008 | 2 Comments | Posted in OpenStreetMap, Technologie

À part rajouter une boîte postale et quelques arrêts de bus à Montréal, je n’avais pas encore contribué en masse à OpenStreetMap.  C’est maintenant résolu: j’ai profité de mon voyage au chalet la fin de semaine dernière pour tracer les rues manquantes sur mon trajet.  J’ai donc ajouté pas loin de 15 rues sur la Côte-de-Beaupré.

J’ai utilisé JOSM car bien que Potlach est bien, c’est une solution en ligne qui selon moi devrait être un dernier recours. JOSM est très rapide et on s’habitue aux raccourcis claviers.  Par contre, j’ai pas encore trouvé comment avoir les images satellites dans JOSM et ça serait apprécié si quelqu’un me disait comment.

J’ai fait les traces avec Maemo Mapper et j’ai simplifié le fichier gpx avec la commande suivante:
gpsbabel -r -i gpx -f ../beaupre.gpx -x simplify,error=0.001k -o gpx -F beaupre.gpx

Il ne reste plus qu’à attendre que les tiles soient regénérées (j’ajouterai un screenshot avant/après)!

Note: ce liens est très utile pour connaître l’orthographe officiel des noms de rues: Commission de toponymie du Québec.