Menu

Tracestrack

haddock1
2024-10-23
2026-03-14
  • haddock1

    haddock1 - 2024-10-23

    Has anyone written a bsh for "Tracestrack Topo", a flavour of OSM?
    Greetings!

    Sample

     
  • Laurent Grenet

    Laurent Grenet - 2024-10-23

    Hereafter.
    But this bsh mentions a "key". I don't know if this key evolves in the time.
    The only thing I can say is that with this current value for key, today it works.

    PS: Actually, I'm sure it evolves in the time, since I had originally the .bsh with another value for key, that do not work anymore. If at any time the .bsh stops working, it will be necessary to check the new value for key, and update it accordingly...
    And I don't know how often / how frequently this key changes

     

    Last edit: Laurent Grenet 2024-10-23
  • Laurent Grenet

    Laurent Grenet - 2024-10-23

    You can also change in the .bsh the URL ".../topo__/..." by ".../topo_fr/..." or ".../topo_it/..." or ".../topo_en/..." or etc.. to have names in the desired language (provided they exist in that language in OSM database.

     
    • haddock1

      haddock1 - 2024-10-24

      Thank you very much!
      If the key changes in future, where can I look for the new value or generate a new one?

       
      • Laurent Grenet

        Laurent Grenet - 2024-10-24

        The best solution is to open the map in your browser (the one you gave as Sample above).
        Then use the tools of your browser, to see which request are sent to the server when you browse the map.
        If your browser is Firefox, these tools are available in the menu Outils/Outils du navigateur/Outils de développement Web (with french menus, I guess that transposition in english menus or other language is quite obvious...)
        In the window that opens, choose the "Réseau" tab (I guess "network" in English ?) and then clicking on one of the requests to tile.tracestrack.com, you can see the full request sent, with all its parameters, including the key parameter.

        For other browsers, I guess it's similar, but I do not have specific experience....

         
        • haddock1

          haddock1 - 2024-10-24

          Yes, I do use Firefox :-) and had already looked for suspicious elements in the Inspector, but didn't find anything...
          With your instructions, everything worked, and I can see the key.
          Thanks again for your efforts!

          PS: You can even reach the 'Network' tab in Firefox with the shortcut Ctrl+Shift+E.

           
  • haddock1

    haddock1 - 2025-06-13

    They changed the image type from png to webp.
    Attached: modified bsh

     

    Last edit: haddock1 2025-06-24
  • WoRo

    WoRo - 2026-01-16

    Is it still possible to add Tracetrack Topo to Mobac?

     
    • r_x

      r_x - 2026-01-16

      The web site mentions an API key that needs to be present. But I have not found the documentation how to obtain such a key.

       
  • Laurent Grenet

    Laurent Grenet - 2026-01-16

    In answer to @WoRo, I agree with @r_x, since this map requires a key, it cannot be included in official package delivered by MOBAC.
    Nevertheless, you have just above a working bsh, provided by a user, and then that do not imply any responsibility of MOBAC.

    Use it, under YOUR responsibility, and don't ask to @r_x what he cannot answer positively....

     

    Last edit: Laurent Grenet 2026-01-16
  • zstadler

    zstadler - 2026-03-14

    Following @Laurent Grenet, their terms say:

    3. Use License

    Tracestrack grants you permission to use its map tiles for personal and commercial purposes, including use on websites, apps, media, and printed materials, under the Creative Commons Attribution 4.0 (CC BY 4.0 DEED license.

    Mass tile downloads are prohibited without agreement with Tracestrack. Any request header spoofing will be flagged as a security threat, resulting in temporary IP blocks or 403 responses for the offending addresses.

     

Log in to post a comment.

MongoDB Logo MongoDB