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

Support for GIScience Heidelberg Maps #72

Closed
pmo-19 opened this issue Feb 20, 2018 · 6 comments
Closed

Support for GIScience Heidelberg Maps #72

pmo-19 opened this issue Feb 20, 2018 · 6 comments

Comments

@pmo-19
Copy link

pmo-19 commented Feb 20, 2018

Would it be possible to add the GIScience Heidelberg Maps ? from the University of Heidelberg I believe.
They look great and don't require an API ... And I tried to add them in GPXSee version 4.x without success.
I used the directives from their website, adding this line to maps.txt:

GIScience Heidelberg http://korona.geog.uni-heidelberg.de/tiles/roads/$z/$x/$y.png

I got an xml error from the web browser however the values of the variable x y z are not set: Tile coordinates were not in a correct format. RawUrl = '/tms_r.ashx?$z/$x/$y.png', UrlReferrer = '', UserIPAddress =

To open maps in a browser I type:

http://korona.geog.uni-heidelberg.de/

This line does open the maps in a web browser like the Open Topo Map line:

Open Topo Map https://a.tile.opentopomap.org/$z/$x/$y.png

But it's not working in GPXSee ? Do you have a clue ?

@sikmir
Copy link
Contributor

sikmir commented Feb 20, 2018

@pmo-19 Your URL is wrong:

GIScience Heidelberg http://korona.geog.uni-heidelberg.de/tiles/roads/$z/$x/$y.png

From the site:

Web Map Tile Service Links

This works for me:

<?xml version="1.0" encoding="UTF-8"?>
<map>
	<name>GIScience Heidelberg</name>
	<url>https://korona.geog.uni-heidelberg.de/tiles/roads?x=$x&amp;y=$y&amp;z=$z</url>
        <copyright>Map data: © OpenStreetMap contributors (ODbL) | Rendering: © GIScience Heidelberg (CC-SA)</copyright>
</map>

@pmo-19
Copy link
Author

pmo-19 commented Feb 20, 2018

OK. Well I did place the .xml file you suggested in the latest version 5.2, then recompile. It's working albeit replacing the ? by / in the .xml you wrote.
So far I have no success on the maps.txt of the 4.19 version ... adding to the file:
GIScience Heidelberg https://korona.geog.uni-heidelberg.de/tiles/roads/x={x}&y={y}&z={z}
There is in your Debian / Ubuntu build minor packaging issues as well.

@sikmir
Copy link
Contributor

sikmir commented Feb 20, 2018

So far I have no success on the maps.txt of the 4.19 version ... adding to the file:
GIScience Heidelberg https://korona.geog.uni-heidelberg.de/tiles/roads/x={x}&y={y}&z={z}

It works for me with 4.19 as well.

@tumic0
Copy link
Owner

tumic0 commented Feb 21, 2018

https://korona.geog.uni-heidelberg.de/tiles/roads/x=1&y=1&z=1 ends with:
HTTP Error 503.2 - Service Unavailable
The serverRuntime@appConcurrentRequestLimit setting is being exceeded.

They have evidently some server/resources limit issues at the moment.

@pmo-19
Copy link
Author

pmo-19 commented Feb 21, 2018

About the minor packaging issues found in the Debian / Ubuntu "official" build:
The source contains a file you called appdata.xml which you omit to place in the Debian package.
However it should be named gpxsee.appdata.xml and placed in the /usr/share/appdata folder.
You placed the Qt translation files *.qm in /usr/share/gpxsee/translations. This is of no use. To be handled correctly these files should be in either or both /usr/share/qt5/translations and / or /usr/share/qt4/translations...
On GPXSee 5.2 it is working well with maps from GIScience Heidelberg, except for 2 zoom levels centred on Southern France. This is a portion of my Fixed Speedcams for France gpx file.
radars_fixes_france gpx - gpxsee_452
I use it to build a Garmin set of files with natural voice alert for all kind of speed traps: Autonomous LIDAR laser, Average Speed camera and Classic ones. Very helpful with the more than 3,000 in use in this country. Maybe the tiles cache is corrupted and then will never download the missing tiles. Clearing the cache will delete all the other maps cache ?
I will test again with the 4.19 version tomorrow.
I learned about GIScience Heidelberg when trying out OpenRoute Service.

@tumic0
Copy link
Owner

tumic0 commented Feb 22, 2018

GPXSee reads translations from /usr/share/gpxsee/translations on Linux, so this IS the correct path where to place them even on Debian.

Tiles that could not be downloaded are not tryied to download again in the same running process. You may however restart the application to trigger a new download. Clearing the tile cache clears all the tiles from the selected map.

As the original issue is an issue of the map provider, I'm closing it. For new/other stuff please open separate issues.

@tumic0 tumic0 closed this as completed Feb 22, 2018
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

3 participants