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

Better wording "ordered points" instead of "unordered points" in gps visibility options #2046

Closed
iriman opened this issue Nov 6, 2018 · 14 comments

Comments

@iriman
Copy link

iriman commented Nov 6, 2018

Please see here

@tomhughes
Copy link
Member

Why would we change it to be incorrect? When a trace has that visibility it is mixed in with all the other traces with the same visibility an an unordered point cloud.

@scaidermern
Copy link

Since JOSM is able to use these points in an ordered line it can't be an unordered point cloud. I would expect an unordered point cloud to have a random point order, for example by randomizing the GPS trace once during upload. Otherwise it still remains a list of ordered points, doesn't it?

@tomhughes
Copy link
Member

That may, by chance, happen, but I can assure you that there is nothing in the way the API sorts the points that guarantees any kind of ordering.

@tomhughes
Copy link
Member

So actually it turns out that (accidentally) those points were being ordered but they very definitely shouldn't have been and I have pushed a fix for that in cdb42d2.

@don-vip
Copy link

don-vip commented Nov 7, 2018

Hi,
It seems to break display of GPX traces in JOSM: https://josm.openstreetmap.de/ticket/16963
Could you please revert this change until we adapt JOSM in consequence and release a new tested version at the end of the month?

@tomhughes
Copy link
Member

No - this was a serious security/privacy issue that had to be fixed as a matter of urgency.

@scaidermern
Copy link

Deliberately waiting until the end of the month would be indeed a bad choice. A broken GPX trace in JOSM is bad but not as bad as a privacy issue.

@don-vip
Copy link

don-vip commented Nov 8, 2018

It was there for like what, 10 years, and nobody ever complained? If that's the case it doesn't look like so serious we couldn't wait three more weeks, but ok. What is the ratio between each type of track? I wonder how much tracks we won't display anymore.

@systemed
Copy link
Contributor

systemed commented Nov 9, 2018

Fixed (FSVO fixed) in P2: systemed/potlatch2@550aab4

@mmd-osm
Copy link
Contributor

mmd-osm commented Nov 23, 2018

@tomhughes : according to this forum post (https://forum.openstreetmap.org/viewtopic.php?id=64575), this change affects the GPX layer on osm.org as well. I guess this would be something for the https://github.com/openstreetmap/gpx-import repo, as long as there's no Rails implementation available yet?

@tomhughes
Copy link
Member

tomhughes commented Nov 23, 2018

First no, the gpx layer on osm.org is nothing to do with that tool.

Secondly, the gpx layer works from the raw traces so is unaffected by this.

@tomhughes
Copy link
Member

Those lines are the wrong way to be this I think - this produces horizontal lines not vertical? More likely that is just a bad trace that has unordered points.

@tomhughes
Copy link
Member

The gps tile layer is updated by https://github.com/ericfischer/gpx-updater/blob/master/update which polls the RSS feed and downloads the traces so doesn't depend on the API at all.

It does use a customised version of gpx-import (https://github.com/ericfischer/gpx-import) to decode the traces but again that is working from the raw traces which haven't changed.

@mmd-osm
Copy link
Contributor

mmd-osm commented Nov 23, 2018

Many thanks for the quick feedback. You're of course right, the gpx importer has direct access to the gps_points table and gets the raw data, so isn't affected at all. The other issue mentioned in the forum post about JOSM is the already known issue discussed earlier here.

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

6 participants