tumic0 / GPXSee

GPS log file viewer and analyzer with support for GPX, TCX, KML, FIT, IGC, NMEA, SLF, SML, LOC, GPI, GeoJSON and OziExplorer files.
https://www.gpxsee.org
GNU General Public License v3.0
950 stars 130 forks source link

Provide "more info about current layer" link #469

Closed jidanni closed 1 year ago

jidanni commented 1 year ago

Let's say we load the UNESCO layer.

We think it is a great layer, and we want to learn more about it.

Well, inside the app there is no button to get more information about it, so we have to look inside the .XML file.

In that we infer that we should look around the https://www.unesco.org/ Website for more information. But that's rather hard. There is too much stuff there. A search turns up 500 matches.

So, next time when the team is adding new layers they should remember to jot down the introduction to layer URL.

Then, by putting that in an appropriate field, the app could turn this into a link when one puts pushes a future "more info button."

tumic0 commented 1 year ago

The map definition files (that you call "layers") are well readable XML files so anyone who wants to see all the included info can easily do that. The map files are created by volunteers, there is no "team" behind them. Tis means when you want some more info in the map files, you have to provide it as a pull request with the appropriate XML comments.

jidanni commented 1 year ago

(Okay, but here's how some other apps display their XML data,) Screenshot_20221216-083307_All-In-One Offline Maps.jpg

tumic0 commented 1 year ago

When you open the XML definition file, you get

<?xml version="1.0" encoding="UTF-8"?>
<map xmlns="http://www.gpxsee.org/map/1.4">
    <name>Open Topo Map</name>
    <url>https://a.tile.opentopomap.org/$z/$x/$y.png</url>
    <zoom max="17"/>
    <copyright>Map data: © OpenStreetMap contributors (ODbL), SRTM | Rendering: © OpenTopoMap (CC-BY-SA)</copyright>
</map>

Which is almost the same as you can see in your example (the projection is implicitly given by the map type and the tiles path can be seen under Help -> Paths). GPXSee's philosophy is different than the philosophy of Android/Android apps where files are "bad". GPXsee paths/files are the way how to configure the app like it is usual on UNIX (Linux) where GPXSee has its origin.