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

Ways built with previous nodes yield impossible previous versions. #13

Open
jenningsanderson opened this issue Mar 25, 2019 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@jenningsanderson
Copy link
Contributor

Way #468835963 for example:

Version 1: bikepathmapper created this object. There is really only 1 version of this object. It incorporates the existing node 1520555327.

{"type":"Feature","properties":{"@version":1,"@minorVersion":0,"@user":"bikepathmapper","@changeset":45488198,"@uid":141444,"@validSince":1485373766,"@validUntil":1322450131,"aA":{"foot":"yes","highway":"cycleway"}},"geometry":{"type":"LineString","coordinates":[[-77.0427935,39.0283537],[-77.0428529,39.0283619]]}}

Currently, OSM-Wayback creates this (impossible) minor version, using the first coordinates (and initial creation) of node 1520555327.

{"type":"Feature","properties":{"@version":1,"@minorVersion":1,"@user":"ecaldwell","@uid":86027,"@validSince":1322450131,"@validUntil":null},"geometry":{"type":"LineString","coordinates":[[-77.0427935,39.0283537],[-77.0428529,39.0283619]]}}

This minor version is (1) not real, and (2) the geometry associated with the original object is apparently also wrong.

... This is a problem in the current geometry reconstruction (should create a unit test-case for this)

@jenningsanderson jenningsanderson added the bug Something isn't working label Mar 25, 2019
@jenningsanderson jenningsanderson self-assigned this Mar 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant