opencaching / opencaching-pl

The source code of Opencaching.PL (and some other domains)
https://opencaching.pl/
GNU General Public License v3.0
22 stars 33 forks source link

Attribute overlaps affect GPX export consistency #965

Open andrixnet opened 7 years ago

andrixnet commented 7 years ago

OCPL, OCRO, OCNL have attribute ID=44 "Wheelchair accessible". This is equivalent to Groundspeak attribute ID=24

OCUK (coming from older OCDE mappings?) has attribute ID=44 "Available during winter". This is equivalent to Groundpseak attribute ID=15


Exporting a reasonably compatible GPX is not possible because because of this overlap.

While working on https://github.com/opencaching/opencaching-pl/issues/917 I chose, for the moment, to use OCPL, OCRO, OCNL spec. (OCUK exports may show wrong attribute, but I am not willing to clutter the code with such exception)

This project ( https://github.com/opencaching/opencaching-pl/projects/2 )will bring order to chaos and solve this, with the cooperation of all opencaching-pl based node admins.

following5 commented 7 years ago

As long as this problem is not solved by renumbering IDs, it can be worked around in GPX by evaluating the node ID and mapping the same OC ID to different Groundspeak IDs.

following5 commented 5 years ago

This has been fixed more than a year ago.

following5 commented 5 years ago

This has been fixed more than a year ago.

But only for "gpxgc", not "gpx".