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

Website and contact:website #21788

Open
OpenSourceForEver opened this issue Jan 23, 2025 · 5 comments
Open

Website and contact:website #21788

OpenSourceForEver opened this issue Jan 23, 2025 · 5 comments
Assignees
Labels
Milestone

Comments

@OpenSourceForEver
Copy link
Contributor

Description

When a POI has "website" "and "contact website" tags Osmand only displays "contact:website" but not "website" tag.
Examples:
https://osmand.net/map?pin=40.62594,-4.00726#17/40.62594/-4.00726

https://osmand.net/map?pin=40.40597,-3.68877#19/40.40597/-3.68877

https://osmand.net/map?pin=40.47229,-3.68293#19/40.47229/-3.68293

https://osmand.net/map?pin=40.69270,-4.03543#19/40.69270/-4.03543

Steps to reproduce

Clicking a POI with "website" and "contact:website" tags

Actual result

Osmand does not show "website" tag

Expected result

It would be usefull to show both tags, "website" and "contact:website"

Your Environment (required)

WARNING Crash-Logs MAY contain information you deem sensitive.
Review this CAREFULLY before posting your issue!

OsmAnd Version:
Android version:
Device model:
Crash-Logs: ?
@vshcherb
Copy link
Member

For long time contact:website was converted to website by default, in that case it leads to this issue.
Options:

  1. Probably we should leave by default website if contact:website is present.
  2. Completely separate contact:website and don't convert it to website
[out:json][timeout:25];
// gather results
nwr["contact:website"]["website"]({{bbox}});
// print results
out geom;

@vshcherb
Copy link
Member

FYI Mostly as I see (90% ?) both tags are identical however it's not always the same - https://www.openstreetmap.org/way/431592660

@vshcherb
Copy link
Member

From @dmpr0 we incline to separate 2 tags

@vshcherb vshcherb added this to the 5.0-map milestone Jan 23, 2025
xmd5a2 added a commit to osmandapp/OsmAnd-resources that referenced this issue Feb 3, 2025
xmd5a2 added a commit to osmandapp/OsmAnd-resources that referenced this issue Feb 3, 2025
@xmd5a2
Copy link
Contributor

xmd5a2 commented Feb 3, 2025

POI to test: https://www.openstreetmap.org/node/10086218202
Map to test: Ukraine_kyiv
Map will be updated in a couple of days after scheduled maps will be done.

xmd5a2 added a commit to osmandapp/OsmAnd-resources that referenced this issue Feb 3, 2025
xmd5a2 added a commit to osmandapp/OsmAnd-resources that referenced this issue Feb 3, 2025
@Zirochkabila
Copy link
Contributor

Testing 1

OsmAnd~ 5.0.0#4322m, Released: 2025-02-06
4.9.5.4966

Implemented in the generated map, waiting for the map update
@dmpr0 Maybe we should add the description “Website” as it is done for “Contact:website” if we display both tags?

Fora.obf.zip

Fora

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants