tumic0/GPXSee

FR: map overlay support

sikmir opened this issue · 8 comments

Are there any plans for map overlay support? It's often needed to combine some base map (e.g. OSM) and some specific/local map (e.g. orienteering, mountains, OpenRailwayMap, etc).

Not at the moment. It would require a complete rewrite of the maps related code to make it universal (with reprojecting), even only a limited overlay support for maps of the same coordinates system would be a lot of work. Although GPXSee supports a broad range of maps, this is IMHO something that already belongs to some GIS rather than into a simple GPS log viewer. But lets let it open.

This feature would be handy to add hillshading tiles...

See https://wiki.openstreetmap.org/wiki/Hike_%26_Bike_Map#Tiles for example urls

It will be a nice feature to have! But I understand it can be complex to implement.

Since a958544 there is at least support for GARMIN IMG maps overlays.

If the map name is mapname.img and there is also a file named mapname.img.1 (.2, .3, ... for additional layers) in the same path, than it will be automatically loaded as an overlay of mapname.img.

Since a958544 there is at least support for GARMIN IMG maps overlays.

Does GPXSee support raster maps in GARMIN IMG format?

Does GPXSee support raster maps in GARMIN IMG format?

No. Such maps are not very common (maybe except marine charts) and the format is not known. Spending time on reverse engineering this part of IMG maps is IMHO not worth it.

If someone wants to get his brain damaged by reverse engineering the biggest mess in software engineering history then the NT routable links (aka roads in NT maps) are a much better way to do so...

No. Such maps are not very common (maybe except marine charts) and the format is not known. Spending time on reverse engineering this part of IMG maps is IMHO not worth it.

Just in case:

Since a958544 there is at least support for GARMIN IMG maps overlays.

If the map name is mapname.img and there is also a file named mapname.img.1 (.2, .3, ... for additional layers) in the same path, than it will be automatically loaded as an overlay of mapname.img.

I've tried the following:

  1. Download OV-Hib-Lov-20191028-1.02.img map from here into ~/.local/share/gpxsee/maps/test.img.1
  2. Create IMG map from GPX file (file, IMGfromGPX tool) and place it into ~/.local/share/gpxsee/maps/test.img
  3. Result:
    scr0

That's almost perfect at least for my use case (show all my tracks over some basemap without loading all tracks as gpx)! Thanks!