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

road_cycling in GPX file upload #21762

Open
lint3 opened this issue Jan 18, 2025 · 3 comments
Open

road_cycling in GPX file upload #21762

lint3 opened this issue Jan 18, 2025 · 3 comments
Assignees
Milestone

Comments

@lint3
Copy link

lint3 commented Jan 18, 2025

Description

When uploading a recorded GPX file to OSM, road_cycling is added to default tags (in addition to the usual osmand).

More importantly, even if this tag is removed in the app's upload form, it's still included in the upload!

Checking the recently added OSM traces you can see that many of the osmand traces from multiple users have this tag. Example 1, Example 2

Steps to reproduce

  1. Record (or import?) GPS trace in OSMAnd
  2. Select "Upload to OpenStreetMap"
  3. Default tags are osmand, road_cycling every time
  4. Remove default tags, add appropriate tags such as walking. Press upload.
  5. Check OSM public traces, your recently uploaded trace was added with road_cycling anyway, even though it was removed

Actual result

road_cycling tag is added to every GPX upload regardless of entered tags

Expected result

  1. Actual uploaded tags should match user's entered tags.
  2. Default text in app's upload form should be empty or at least not include road_cycling

Your Environment (required)

OsmAnd Version: net.osmand.plus ver. 4.9.7
Android/iOS version: Android GrapheneOS 15 build 2025011500
Device model: Google Pixel 7
Crash-Logs: (N/A)
@DmitryAlexei
Copy link
Contributor

Description

When activity type is specified by the user, this tag is automatically uploaded to the OSM, even when it is deleted from the uploading form

Steps to reproduce:

  • record a track using OsmAnd
  • specify activity type in the track's context menu
  • upload that track to OSM having previously deleted activity type in the uploading form
  • see how that track is uploaded to OSM

During my test, I've deleted the walking tag in the uploading form, but it was present in the OSM

Image

Workaround

Road_cycling is an activity type. It can be specified in the track context menu. For more information, see documentation. Link
If you set the activity type to “none”, Road_cycling tag will not be uploaded to OSM.
Also please update OsmAnd to the latest available version (4.9.10)

@dmpr0
Copy link
Contributor

dmpr0 commented Jan 20, 2025

When activity type is specified by the user, this tag is automatically uploaded to the OSM, even when it is deleted from the uploading form

tag is automatically added to the tags list, and could be removed, if it still present after upload, this is bug.

@DmitryAlexei
Copy link
Contributor

Yes, the tag is still present after upload, despite it was previously deleted.

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

No branches or pull requests

5 participants