Locus Map - forum

Support => Wishlist => Under review => Topic started by: locuspro on November 12, 2011, 07:22:55

Title: Please support ECW or GEOTIFF for offline maps
Post by: locuspro on November 12, 2011, 07:22:55
OFFLINE MAPS
Support for SQLite, TAR maps, MBT maps, GEMF formats.

all these formats are incomptible with globalmapper, ttqv, compeland

So please support ECW or/and GEOTIF.
Title: Re: Please support ECW or GEOTIFF for offline maps
Post by: elmuSSo on December 05, 2011, 00:29:08
I agree.

Tapatalk@CyanogenMod@HTCVision
Title: Re: Please support ECW or GEOTIFF for offline maps
Post by: Menion on December 05, 2011, 14:37:13
this is task in progress ... currently I work on RMAP (viewtopic.php?f=13&t=1377 (http://forum.asamm.cz/viewtopic.php?f=13&t=1377)) format, then will come some tunning for already added but not perfectly working TAR, then will comes other formats. I'm worried that GeoTIFF will not be possible, but we'll see ...
Title: Re: Please support ECW or GEOTIFF for offline maps
Post by: joeloc on December 06, 2011, 08:54:47
normal geotiffs force you to load the complete file into memory, not very doable on mobile devices. however, you can tile them and add overviews as well, so they can be read partially. http://www.gdal.org/ (http://www.gdal.org/) has free tools for this:

gdal_translate -co tiled=yes -co compress=lzw huge.tif hugetiled.tif
gdaladdo hugetiled.tif 4 16 64

creates "hugetiled.tif" from "huge.tif" with 256x256 tiles and includes overviews at 1/4, 1/16, 1/64 size.

hugetiled.tif should work rather nicely on mobile stuff, it can be read and decoded partially just as other format map tiles. it could be a bit trickier to implement though because of
a) a shitload of different formats for projection & coordinates
b) the overviews can have arbitrary sizes, ie not a power of 2

btw, hugetiled.tif will also be A LOT faster on the PC at home when used with TTQV or GlobalMapper.