Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Background image #509

Closed
bderembl opened this issue Aug 20, 2023 · 4 comments
Closed

Background image #509

bderembl opened this issue Aug 20, 2023 · 4 comments

Comments

@bderembl
Copy link

Hi,
this is not a feature request but more a question to the community related to #178 (maybe @sikmir ).
I am trying to find an alternative to quickroute which consists in overlaying a gpx track on a scanned image (usually an orienteering map).

I guess I could convert my image to map (.img) with approximate coordinates but I don't know how to make it match the gpx track exactly (quickroute does it by adjusting the route to the image but the other way around is in principle possible)

Has anyone done this (maybe by adding an offset/scale factor to the gpx)?
Would this be possible with gpxsee?

Thank you

@tumic0
Copy link
Owner

tumic0 commented Aug 20, 2023

The keyword you are looking for is georeferencing. Just georeference the map image (e.g. using QGIS) and then simply use it with your GPX file. GPXSee supports various georeferenced image maps - GeoTIFF, OziExplorer and ESRI World-File. I'm pretty sure OpenOrienteering Mapper or OCAD can also export the georeference files when exporting the map as a raster image, so if you have the original map source, you do not even have to fiddle with the reference points.

@bderembl
Copy link
Author

This is indeed in theory the proper way to proceed, thank you for the tip!

One issue though is that the scanned image are often of poor quality and the solution to adjust the gpx is sometimes simpler (as shown here). I guess this is clearly beyond the scope of GPXSee.

Thanks! (and feel free to close this anytime)

@tumic0
Copy link
Owner

tumic0 commented Aug 21, 2023

I don't think their fiddling with the track is of any use. I took a random used "paper" map from SOW23, put it on the floor, took a photo using my mobile phone and georeferenced it in QGIS using 4 points obtained from the Swisstopo online map. It all took me roughly the same time like the guy in the video, but the result is a map, that can be used by multiple track logs. Then I took some random GPS log from the web and the result is pretty accurate as you can see, even when there are so many distortions and inaccuracies in the process.

georeference

@tumic0 tumic0 closed this as completed Aug 21, 2023
@bderembl
Copy link
Author

totally makes sense!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants