Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - axelpix

#1
Maps / New OSM tiles Tracetrack won't work in Locus
November 01, 2023, 10:22:06
There's a new OSM style called Tracetrack. One need to create an API key in order to get it work. On openstreetmap.org they obviously have an issue with their referer settings. So Tracetrack is not shown there currently.
Anyway, I quickly created a key and I'm able to view tiles with it:
https://tile.tracestrack.com/topo_de/16/35268/21855.png?key=dba2cf791715cea19906a9ee1593b349

Trying to see it in LocusMap fails with an unknown error. So what's wrong with my providers code:

<provider id="10014" type="0" visible="true" background="-1">
<name>OSM</name>
<mode>Tracetrack Topo DE</mode>
<url><![CDATA[https://tile.tracestrack.com/topo_de/{z}/{x}/{y}.png?key=...&v={ts}]]></url>
<zoomPart>{z}-8</zoomPart>
<zoomMin>10</zoomMin>
<zoomMax>27</zoomMax>
<tileSize>256</tileSize>
<tileScale dpi="0" multi="2.0" replace="19"/>
<extraHeader><![CDATA[User-Agent#Mozilla/5.0 (Windows NT 6.1; rv:36.0) Gecko/20100101 Firefox/36.0]]></extraHeader>
</provider>

It also doesn't work without the scaling.
Also tried to use a referer. No luck.
Any ideas?
#2
Google is forcing me to change my Goolge account in May 2022. Is there any chance to take my beloved LocusMap Gold subscription with me other than buying a new one?