> Bart Eisenberg <[email protected]> writes:
> > When hiking, I'm a big fan of Custom Maps <http://www.custommapsapp.com/>, 
> > a labor of love from a Google developer, which allows you to georeference 
> > almost any online map, including PDFs

Greg Troxel writes:
> Does anyone know of a viewer, or perhaps support in OsmAnd, for maps that
> are already georeferenced, such as geotiff or geopdf, that one might
> make with qgis?

OsmAnd can view a geotiff if you turn it into tiles. First:

gdal_translate filename.tiff filename.mbtiles

If you want several zoom levels:
gdaladdo -r nearest filename.mbtiles 2 4 8 16

Then use this script:
https://github.com/tarwirdur/mbtiles2osmand
like this:
mbtiles2osmand.py filename.mbtiles filename.sqlitedb

Copy filename.sqlitedb to OsmAnd's tiles folder, and then
it should be available as an overlay or underlay in OsmAnd.

if you prefer a directory of small tiles, like web slippy maps use,
you can:
mkdir tiles
gdal2tiles filename.tiff tiles

Other options: There's something called MAPC2MAPC if you have
Windows; Bart has a video tutorial on that. And there's something
called Mobile Atlas Creator (MOBAC) which is supposedly cross
platform, but it looked much more complicated than the gdal steps.

        ...Akkana

-- 
You received this message because you are subscribed to the Google Groups 
"OsmAnd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/osmand/20200717155508.GE2039%40shallowsky.com.

Reply via email to