Tag Archives: OSM

Bugianen fa il routing…

… o quasi!

A titolo (molto) sperimentale rendo disponibili i file per Routino relativi all’area coperta da Bugianen (e anche un po’ più in là). Cosa ve ne fate? li caricate in QMapShack e calcolate i percorsi con pochi click!

In realtà il file sono indipendenti dalle carte, per cui funzioneranno anche con mappe diverse dalla mia, anche se in quel caso non è garantita la corrispondenza fra il database di routing e il rendering della mappa.

Siccome è veramente un primo esperimento i file sono scaricabili solo da questo post e non dalla pagina principale di Bugianen.

ATTENZIONE: per ovviare ai limiti di Routino, a qualche mappatura fantasiosa e soprattutto alla mia ignoranza questi file sono generati con una configurazione personalizzata che di fatto elimina quasi tutti i vincoli di accesso di strade e sentieri (divieti e sensi unici). Nell’utilizzo previsto (pianificazione di escursioni a piedi o MTB) questo non dovrebbe generalmente causare problemi, ma NON usate questi file in qualunque software di navigazione o finite nei guai.

Per le istruzioni sull’utilizzo vi rimando all’esaustivo manuale di QMapShack.

I file sono qui.


Tiramisù 3.0.2 released

Small but important update for Tiramisù.

Starting from August OpenAndroMaps will change the internal tagging of features in a way that makes old themes incompatible. They will apparently work but some paths would not be displayed correctly. A further change will occur in October

Please upgrade to Tiramisù 3.0.2 as soon as possible. This version is compatible with existing and future maps.

Note that only the XML file actually changes, so if you prefer you can skip replacing the assets folder.

Tiramisù 3.0 beta 1 is out

It’s been a while since the last Tiramisù release, and a lot has changed in the Mapsforge world. With this release I’m trying to catch-up with the new features. After the interlocutory 0.4 release, the new rendering engine is a real step forward with a lot of new features to explore: I think we all owe a big thank-you to the MapsForge team for the hard work they put in the last year. While still not used in the stable release of Oruxmaps it’s already implemented in the current public beta and, of course, in Cruiser and Atlas. Don’t use this theme in other apps or older releases, it will not work at all.

Map styles

The first exciting news is that we now have map styles to play with. Think about variants inside a single themes. You can now access a dialogue box that controls theme variants choosing “Tweak Mapsforge theme” from the maps menu. For the moment being I have implemented three variants.


That’s basically the old theme with just a few tweaks.


This is the long awaited mountain biking version. Compared to the hiking one it is a bit less faithful to the original OSM tagging; I know some will not be happy with this but sometimes less is more.

Speaking of paths the colour scheme is the same of the hiking version with a dark brown added for the mtb:scale=0 grade. For downhill grades from 0 to 3 I’m showing also the uphill grade using dash strokes. A continuous line is 0 or 1, a short space between dashes is 2, a larger space is 3, a dotted line is 4 or 5. Trail visibility is ignored. When the uphill scale is absent it is guessed from the downhill one (I’ve done some stats…).

Untagged paths are painted in grey  with a dash dot pattern.

Speaking of tracks the colour scheme is the same I used for tracktype, but it is applied to the uphill scale. The downhill scale is ignored.

One particularity of the MTB variant is that it can show MTB networks, as well as hiking and cycling ones, if you choose to (more about that below). This is thanks to the new Mapsforge feature that allows to offset lines. Hiking (red) and cycling (blue) highlights are shown on one side, MTB (purple) on the other to avoid conflicts.


This one will possibly be a full featured road cycling variant in a (distant) future. For the moment being, the main feature is that it hides tracks and paths in order to reduce clutter. Easy tracks (grade 0 or 1) can optionally be activated via overlays.


The other nifty feature of the new rendering engine is the ability to selectively turn on or off the display of certain elements. I tried to find a balance between ease of use and control when designing the overlays but this is one feature that need a lot of testing, will probably be changed and will probably never suit everyone needs. Still, we are miles beyond where we were just one year ago. If you aren’t interested in hotels and bus stops you can get rid of them with just a couple of taps.

I suppose the names are self explaining, but some need a special mention. The most interesting are “Terrain” and “Contour lines”. Oruxmaps’ current beta has introduced the offline multimaps feature that allows to overlay maps from different sources. Turning off “Terrain (basic)” when using a multimap will make the background transparent; this useful if you want to use an old map background with up to date OSM highways. I suggest also turning off “Contour lines, “Contour lines (low zoom)” and “Terrain (detailed)” to have a clean background.

“Contour lines (low zoom)” shows contour lines earlier, useful on flattish terrain like Iceland but not pleasing at all in alpine areas. Well, just try and see.

New symbol and label layer

The third big change in MF 0.5 is the new separate layer for icons and captions, with the added bonus of a priority system. Without going into too much technical detail, incomplete names or insignificant symbols killing more important ones should be gone. The only downside is that occasionally contour’s elevations may appear on top of other graphics, but it’s a minor problem, well worth the massive gain of reliability in all the other cases.


This beta has been released as a regular version, you can get it from the dedicated page.

Tiramisù 2.0 released

In order to celebrate a new OruxMaps version, what about a new theme? Well, it was mostly necessary, due to the changes in the rendering engine. Being there I revamped the whole thing.

What’s new?

If you tried the latest beta nothing relevant, just some minor fine tuning. If you are running the original Tiramisù there are quite a lot of changes, the main ones being:

  • The colour scheme has been generally optimised to work better across a wider range of displays
  • Streamlined rendering at lower zoom levels. It means faster rendering times since small things (that would be invisible anyway) are ignored, and easier to read maps
  • Highways, tracks and paths scale in a graceful way, keeping things in proportion regardless of the zoom level. This one made the file size explode and probably impacted a bit on rendering times, but I really couldn’t stand the default way Mapsforge scales anymore
  • Drastically changed primary roads, motorways and trunks to match the paper maps I’m used to
  • New cores for untagged track types, the original one was too flashy. This one should be recognizable if one wants to, but still blend better with others
  • New bi-colour dash-dot pattern for paths without SAC tagging
  • New bi-colour dash-dot pattern for paths with SAC tagging in the T4+ range
  • Railways are now always uni-linear, and drawn below other highways
  • Got rid of ski pistes. The code is actually still there, if you really want them uncomment lines 1554-1560. Lifts are still displayed
  • Natural reserves are shown only at lower zoom levels, since there is currently no reliable way to show them in an unobtrusive way. If you are in a park you should know, anyway.
  • Single theme: Oruxmaps can now scale icons, so you only need to properly set the preference without worrying to know fancy things like your device display density.

That’s all. Just go and download it.

Tiramisù 2.0 beta 2

What’s new

I finally completed the job of making highways scale in a graceful way. From zoom level 13 upwards every width and dash-stroke has been defined mathematically to keep exact proportions at every zoom level. Widths increase according to a square root law, i.e. fast at the beginning and slower at the end.

I also redefined some graphical aspects, namely:

  • Got rid of ski pistes that were getting too much in my way
  • New cores for untagged tracktypes, the original one was too flashy. This one should be recognizable if one wants to, but still blend better with others
  • New bi-colour dash-dot pattern for paths without SAC tagging
  • New bi-colour dash-dot pattern for paths with SAC tagging in the T4+ range
  • Railways are now always uni-linear, and drawn below other highways
  • Contour lines are now a warm grey tone rather than brown. Makes tracks stand out better
  • Probably something else that I forgot

Download and install

At the moment this theme only really works well with Oruxmaps 5.5.23 (from beta 11) on 320 dpi devices. There are however some additional settings that help minimize the issue.

Download from here and install as usual.

This version is deprecated. You should get the newer one instead.

Then go into “Settings>Maps>Mapsforge settings” and tweak the parameters to your liking. As a starting point I suggest:

  • for 300-320 dpi set everything to 1
  • for 450-480 dpi set the text multiplier to 1 and the others to 1.5. The map will be smaller than intended, but things should be kept in proportion
  • for 200-233 dpi set the text multiplier to 1 and the others to 0.75. The map will be bigger than intended, but things should be kept in proportion