Closed andreasnuesslein closed 12 years ago
i looked at the database schema in the wiki.
I don't know if this is similar to the current scheme, but there are rows like updated_at
.
Is this data similar to planet_date
or is planet_date just the name of the diff file?
Which options do we have:
I would prefer option 2 and 3 before 1, because in this case we do not need to modify anything. I will write a little sample module with a watched file
7454663b8347d43bfb6ce595322cdb0ec392c39e is a reference implementation of 2.
in this case the update script just changes the etc/planetdate.json
file to the new planetdate
fixxed in my, as I see it http://github.com/osm-spline/xappy.js/blob/master/lib/xappy.js#L60. Importer export is needed, but not our Problem.
we need to figure out a way to a) write the current planet date into our database and b) query it, when trying to generate a response, so that it can be included in the xml and json headers.
currently there's a static variable in xappy.js - this needs to be changed, asap.