Open GuentherGredy opened 1 month ago
@GuentherGredy Could you provide the tracks where you can't change the POI properties, so we can test it on our end?
The bug could not be reproduced. To reproduce the issue, import your waypoints into the tracks folder. Then, view them on the map, click on the icon, and try to edit the GPX. Change the icon and color, and observe if the changes are successfully saved and reflected on the map.
OsmAnd~ 4.8.0#2416m, released: 2024-05-30
https://github.com/osmandapp/OsmAnd/assets/127092082/3ecda9cd-bcf0-43fd-8eb7-020df668c9c7
@yuriiurshuliak Now restart the app and check.To my experience the appearance change is lost after the next app start.
Some things to fix:
Track context>Points>3-dots>Change default appearence
unnecessarily adds these lines to every wpt
section, significantly inflating the file, and incorrect color value #00000000
<extensions>
<osmand:color>#00000000</osmand:color>
</extensions>
</wpt>
, but OsmAnd ignores it after the next app start, instead shows all waypoints in some app default appearance instead:
<extensions>
<osmand:points_groups>
<group name="Group 1" color="#0000ff" icon="special_star" background="circle" />
<group name="Group 2" color="#0000ff" icon="special_star" background="circle" />
</osmand:points_groups>
</extensions>
osmand:points_groups
in the end, but it is even more convoluted if the user uses an import function.osmand:points_groups
extension (I think at least the color
tag is missing).To do:
Track context>Points>3-dots>Change default appearence
unnecessarily adds these lines to every wpt
section, significantly inflating the file, and incorrect color value #00000000
<extensions>
<osmand:color>#00000000</osmand:color>
</extensions>
osmand:points_groups
osmand:points_groups
@vshcherb Upon re-reading the todo's, I am a little unclear if/when we actually transfer appearance changes to the gpx files, vs. only note that in the gpx database? What's our strategy here, does e.g. "Reset should delete osmand:points_groups
" mean we modify the file itself?
Yes, we don't store point appearance in DB cause it's too much to handle for now, so we will modify file but only a specific section for waypoint appearance
Description
For my use cases I plan routes, tracks and POIs in Garmin's BaseCamp. Then I copy them to a folder on my mobile (Android 14) and import them from there to OsmAnd (4.7.10); folder "...\Interner Speicher\Android\data\net.osmand.plus\files\tracks\ActualTour". In former versions of OsmAnd I could change properties of POIs (color, icon) and persist the changes. In the newest version this is not possible any more.
Steps to reproduce
Menu: Meine Orte Tab: Tracks Selection: folder "ActualTour" Menu: Import Selection: POI on map Press "Aktionen" Press "GPX-Wegpunkt bearbeiten" Select icon and color Press "Speichern"
Actual result
POI remains unchanged
Expected result
POI gets the edited properties
Your Environment (required)
WARNING Crash-Logs MAY contain information you deem sensitive. Review this CAREFULLY before posting your issue!