Custom Over/Underlay maps

107 views
Skip to first unread message

Gavinx

unread,
Feb 20, 2020, 2:43:51 AM2/20/20
to OsmAnd
I have a pdf that I would like to display on osmand.
I thought there was once a time where I could do this if the map was georeferenced. I do not seem to be able to do this other than the pre configured ones.

Can this be done?

thanks 

Bart Eisenberg

unread,
Feb 20, 2020, 12:23:27 PM2/20/20
to OsmAnd
The PDF has to be georeferenced, and converted to the right format.  
Here's one approach (mine): https://youtu.be/Y_fekLfcUOc

Akkana Peck

unread,
Feb 20, 2020, 1:36:34 PM2/20/20
to OsmAnd
Here's another approach using QGIS, if you can't use the Windows
program mapc2mapc that Bart talks about:
http://shallowsky.com/blog/mapping/osmand-making-overlay-maps.html

...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 osmand+un...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/osmand/a7de6967-4c2e-4cc3-9a5d-c0e376028159%40googlegroups.com.

Bart Eisenberg

unread,
Feb 20, 2020, 2:35:28 PM2/20/20
to OsmAnd
Or....you could use the open source program Custom Maps in conjunction with OsmAnd: http://www.custommapsapp.com/

The advantage is that you can geo-reference the PDF on your device, with no conversion necessary--I've done some right at the trailhead.  The disadvantage is that you are then switching between two screens and apps (OsmAnd and Custom Maps), rather than the PDF being displayed on OsmAnd itself.  

Here's a video (mine) on Custom Maps: https://youtu.be/-lTrUL3HXqU 

On Thursday, February 20, 2020 at 10:36:34 AM UTC-8, Akkana Peck wrote:
Here's another approach using QGIS, if you can't use the Windows
program mapc2mapc that Bart talks about:
http://shallowsky.com/blog/mapping/osmand-making-overlay-maps.html

        ...Akkana

Bart Eisenberg writes:
> The PDF has to be georeferenced, and converted to the right format.  
> Here's one approach (mine): https://youtu.be/Y_fekLfcUOc
>
>
> On Wednesday, February 19, 2020 at 11:43:51 PM UTC-8, Gavinx wrote:
> >
> > I have a pdf that I would like to display on osmand.
> > I thought there was once a time where I could do this if the map was
> > georeferenced. I do not seem to be able to do this other than the pre
> > configured ones.
> >
> > Can this be done?
> >
> > thanks
> >
>
> --
> 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 osm...@googlegroups.com.

Gavinx

unread,
Feb 21, 2020, 10:37:47 PM2/21/20
to OsmAnd
If anyone knew this it would be Bart and I did check your utube channel but couldn't find this video.
Thanks to both of you. This is all good information

Bart Eisenberg

unread,
Feb 21, 2020, 10:53:15 PM2/21/20
to OsmAnd
These two links to my YouTube channel should work. At least they do for me:

A Thompson

unread,
Mar 25, 2020, 10:41:36 PM3/25/20
to OsmAnd
On Thursday, February 20, 2020 at 6:36:34 PM UTC, Akkana Peck wrote:
Here's another approach using QGIS, if you can't use the Windows
program mapc2mapc that Bart talks about:
http://shallowsky.com/blog/mapping/osmand-making-overlay-maps.html

Thanks, Akkana, for your excellent guide which is much better than the notes I posted previously. Having forgotten how to do it, I recently wanted to overlay a historical map in OsmAnd and followed your guide. Here are a few observations (QGIS 3.10, Windows 7):

1. I didn't have any "API Key required" problem with the QuickMapServices plugin

2. The change from QGIS 2.x to 3.x was major, and I think it broke the qtiles plugin in Linux though it still worked for me in Windows. But from QGIS 3.8 the tiles functionality is built-in:
Processing>Toolbox>Raster tools>
 
3. You can select .mbtiles and continue as you described, but I chose "Generate XYZ tiles (Directory) " The default settings work, but it's worth considering if you want .png or .jpg. JPG can be much smaller files without discernible deterioration, PNG can have transparent regions. OsmAnd can handle either.

4. As with the old qtiles plugin, the only remaining obstacle is that OsmAnd expects tile filenames of the form xxx.png.tile or xxx.jpg.tile rather than xxx.png or xxx.jpg as generated by QGIS. So you need to batch-rename every file in the directory hierarchy as I mentioned in an old post https://groups.google.com/d/msg/osmand/bG1SGGNYxYI/GHvZk7wUCQAJ
Then you can just drop the directory hierarchy into OsmAnd's tiles folder. 
 
Apart from the awkward recursive batch renaming of filenames, this way is nice because it only uses QGIS.

I offer these notes by way of thanks! 

 
 
Reply all
Reply to author
Forward
0 new messages