Author Topic: Please support ECW or GEOTIFF for offline maps  (Read 1508 times)

Offline locuspro

  • Newbie
  • *
  • Posts: 4
    • View Profile
Please support ECW or GEOTIFF for offline maps
« 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.
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline elmuSSo

  • Premium
  • Apprentice of Locus
  • **
  • Posts: 116
    • View Profile
Re: Please support ECW or GEOTIFF for offline maps
« Reply #1 on: December 05, 2011, 00:29:08 »
I agree.

Tapatalk@CyanogenMod@HTCVision
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline menion

  • Administrator
  • Professor of Locus
  • *****
  • Posts: 9865
  • Thanked: 43 times
    • View Profile
    • http://www.asamm.com
  • Device: SGS7
Re: Please support ECW or GEOTIFF for offline maps
« Reply #2 on: December 05, 2011, 14:37:13 »
this is task in progress ... currently I work on RMAP (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 ...
« Last Edit: January 01, 1970, 01:00:00 by Guest »
Ideas, wishes, problems
Advanced topics, public discussion, sharing of knowledges, testing beta versions: you're here!
 

Offline joeloc

  • Premium
  • Padavan of Locus
  • ***
  • Posts: 304
    • View Profile
Re: Please support ECW or GEOTIFF for offline maps
« Reply #3 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/ 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.
« Last Edit: January 01, 1970, 01:00:00 by Guest »