View Single Post
janszoon's Avatar
Posts: 224 | Thanked: 80 times | Joined on Nov 2009
#47
Hi there, anyone following this thread ? :-) if you are, the update is that I have been trialling ModRana the last few days. A cool application, plenty of features.

Just in relation to above, it allows you to overlay maps (repositories) and change the opacity settings. I am now viewing my Nautical maps, overlayed to Google satellite images which fills in all the 'Land Gaps' to my ocean charts. Very nice !

Uses same Map/tiles repositories as Mappero.

MartinK is a very engaged developer and answered my query around this quickly. Just sharing with you here in case helpful.

ModRana uses the same folder and file structure as Mappero and also supports custom layer definitions, the only difference is, that there is no GUI for managing the layer definitions in modRana (yet).

Map tiles are stored in MyDOcs/.maps, each layer has its own folder there (its the same in Mappero).

If you want to make a custom layer, just go to /opt/modrana/map_config.conf, copy one of the layer definitions, and modify it like this:
Code:
Code:
[osma]
  label=My custom layer
  url=http://my.custom.tiles.url
  type=png
  max_zoom=17
  min_zoom=0
  folder_prefix=my_custom_layer_folder
  coordinates=osm
label is the name for the layer displayed in modRana
url if your custom tiles are not accessible from somewhere online, just paste some nonexistent url there, so that automatic downloads for tiles outside of you coverage will fail
folder_prefix a folder in MyDocs/.maps/ where you have the tiles for your custom layer

Or, you can just dump the tiles to a tile folder for an existing layer, modRana will happily use the new tiles, even if they don't actually belong to the layer.

Also make sure that options->map->storage is set to files (eq. modRana the tiles files and not the sqlite database to load/store tiles).
BTW, a files -> db batch-loader is planed, as the database is much more space efficient than so many folders and small files, on the FAT32 filesystem.
All the best. happy Fishing/Sailing
__________________
My N900 Photo Gallery and Slideshow