[OSM-dev] osm schema/dtd - planet and request timestamp
Shaun McDonald
shaun at shaunmcdonald.me.uk
Tue Sep 9 11:15:54 BST 2008
Florian Lohoff wrote:
> Hi,
> with the increasing number of database mirrors satisfying requests for
> the various types of applications it would be a good idea to extend the
> OSM apis DTD/Schema with some timestamps makeing it possible to check
> for the currentness of the data. I'd propose something like
> requestTimestamp and planetTimestamp so you know the time the osm file
> was generated and based on which database state.
>
> I was looking at http://kinkrsoftware.nl/contrib/osm/osm-0.5.xsd which
> does not mention something like this.
>
> The main api could simply add the current time as the timestamps.
>
> Comments?
>
The next API release 0.6 will include a version field for each node, way
and relation. This will do exactly what you are looking for. There is a
lot of testing that needs to be done to make sure that the migrations
work, and the new API doesn't break. Any rails developers out there are
welcome to come and help us.
Shaun
More information about the dev
mailing list