Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

adding option to only get "newer than" - objects #17

Open
openstreetmap-trac opened this issue Jul 23, 2021 · 6 comments
Open

adding option to only get "newer than" - objects #17

openstreetmap-trac opened this issue Jul 23, 2021 · 6 comments

Comments

@openstreetmap-trac
Copy link

Reporter: steve[at]fractalus.com
[Submitted to the original trac issue database at 3.25pm, Thursday, 10th November 2005]

An option to grab only those objects that are newer than a specific time would
enable clients to cache data performantly.

"newer than" must return all objects that changed since the given time, so a
last changed timestamp are needed for every object.

Either, the referencing objects of all changed objects are transfered as well.
Then this option is nice as stand alone for viewing only recent changes.

Or it really only transfer those objects that have changed, in which case the
performance is optimal for clients using caches.

Note, that for the second option, this cannot be done correctly with GPX, e.g.
it must be possible to transfer line segments without tracks or property-keys
without any object.
When using the second option with the XML scheme proposed in the wiki, it has to
be allowed, that objects are transfered without their referencing object before
(the clause "There must be no reference to an id, which has not been transfered
yet." is disabled)

@openstreetmap-trac
Copy link
Author

Author: immanuel.scholz[at]gmx.de
[Added to the original trac issue at 9.45am, Wednesday, 5th April 2006]

Either, the referencing objects of all changed objects are transfered as well. Then
this option is nice as stand alone for viewing only recent changes.

Or it really only transfer those objects that have changed, in which case the
performance is optimal for clients using caches.

The second option is much more important. In fact, I think the former isn't necessary anyway if things like the planet.osm snapshot make the round..

@openstreetmap-trac
Copy link
Author

Author: writetodan[at]yahoo.com
[Added to the original trac issue at 9.45pm, Saturday, 31st March 2007]

for this to work, need to have sequential change IDs, as objects can share the same timestamp - i.e. need a version table (as there already is for ways).

@openstreetmap-trac
Copy link
Author

Author: tom[at]compton.nu
[Added to the original trac issue at 11.34am, Sunday, 19th August 2007]

See also #94 which asks for the same thing.

@openstreetmap-trac
Copy link
Author

Author: Richard
[Added to the original trac issue at 11.37am, Thursday, 5th July 2012]

Five years later, we have minutely diffs!

@openstreetmap-trac
Copy link
Author

Author: woodpeck
[Added to the original trac issue at 11.56am, Thursday, 5th July 2012]

Minutely diffs do not fix this particular issue.

@openstreetmap-trac
Copy link
Author

Author: iandees
[Added to the original trac issue at 10.11pm, Monday, 9th September 2013]

A newer-than arg to the map call might be interesting to help cut down on data transfer for clients.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant