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

Add Support for OsmAnd #7

Open
Dollarius opened this issue Jun 21, 2022 · 2 comments
Open

Add Support for OsmAnd #7

Dollarius opened this issue Jun 21, 2022 · 2 comments

Comments

@Dollarius
Copy link

Dollarius commented Jun 21, 2022

Let me start by thanking you for creating this very useful addon!
I use it extensively for mapping hiking trails in iD based on Strava's heatmap.

Would it be possible to add another option for OsmAnd?
I use this Android/iPhone app for displaying heatmaps on my phone (also offline, after caching).
The no-tms URL needs the following replacements:
external-{switch:a,b,c}.strava -> external-a.strava
{zoom} -> {0}
{x} -> {1}
{y} -> {2}

An example URL follows:
https://heatmap-external-a.strava.com/tiles-auth/ride/hot/{0}/{1}/{2}.png?Key-Pair-Id=***&Policy=***&Signature=***

Thank you very much for your consideration.

@zekefarwell
Copy link
Owner

Hi, Dollarius, glad you find the addon useful!
It certainly would be possible to add more variants of the url for compatibility with other apps. Adding support for other OSM editors beyond JOSM and iD might make sense. OsmAnd isn't really an OSM editor though so I'm not sure it fits with the goal of this addon: to streamline the use of the Strava heatmap for tracing in OSM editors. Or maybe I'm just not aware of OsmAnd's editing capability? I use the app a little bit, but not extensively. There are tons of map applications out there that someone might potentially want to view the strava heatmap in, but I'd prefer to keep this extension fairly simple and focused on OSM editing rather than supporting many different use cases.

@Dollarius
Copy link
Author

Hi zekefarwell, thank you for your comment.
OsmAnd can be used to edit OSM, and I find it pretty useful to be able to edit OSM while on the trails, based on real-world features and the heatmap.
However, I am possibly a minor user of this feature, and I perfectly understand your decision to keep the script as simple as possible.

For added versatility of your extension, I could propose an "advanced custom formatting tab", where one can enter an example URL with wildcards to be formatted by your extension, like:
http://mywebsite.com/mytags/myformat/?Key-Pair-Id=%ADD_ID&Policy=%ADD_POLICY&Signature=%ADD_SIGNATURE
Saving this "advanced custom" URL format in the extension settings would enable its repeated use for different (uncommon) purposes.

Just a proposal: I would appreciate if you could consider it, but I will continue loving your script even if you do not.
Thanks for your work!

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