Looking at some changesets I find odd information regarding coordinates and objects version. For instance, in changeset 420453 one can find ...

  • Coordinates outside the range [-180 -90, 180 90] such as lon="214.7483647" for node id="60876769";
  • Consequently, the bounding box is also out the expected range;
  • Versions 2 & 3 of the same node (again node id="60876769") exist in the same changeset (420453);

Does anybody can provide me with some historical context/explanation how such data appeared in the database? Is it still possible it happens again?

Cheers!

asked 10 Nov '14, 19:28

jfd553's gravatar image

jfd553
22091018
accept rate: 0%

edited 11 Nov '14, 16:17

2

For the curious: It isn't possible to upload a node with this longitude any longer. The server responds with error 400 and "The node is outside this world".

(10 Nov '14, 20:15) scai ♦
2

Regarding your observation in list member two: "One element can be updated multiple times during one changeset and its version number is increased each time so there can be multiple history versions of a single element for one changeset." (API 0.6). So this is nothing unexpected.

(10 Nov '14, 20:25) aseerel4c26 ♦
1

The linked changeset was created at the time when API 0.5 was active. Maybe the coordinates were not enforced to be in the range [-180 -90, 180 90] at this time.

(10 Nov '14, 20:27) aseerel4c26 ♦
1

Possibly, although the API changes between v0.5 and v0.6 don't mention the introduction of such checks.

(11 Nov '14, 07:52) scai ♦

All the comments make sense... I missed the point about multiple versions of an object in a changeset - It's certainly possible! Concerning the erroneous coordinate, I'm happy it is not possible anymore!

Thanks

permanent link

answered 15 Nov '14, 03:50

jfd553's gravatar image

jfd553
22091018
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×106
×18
×8

question asked: 10 Nov '14, 19:28

question was seen: 4,953 times

last updated: 16 Jun '15, 01:36

powered by OSQA