[OSM-talk] Osmxapi returns old data
Jon Burgess
jburgess777 at googlemail.com
Sat Mar 15 12:05:12 GMT 2008
On Sat, 2008-03-15 at 07:31 +0000, 80n wrote:
> On further inspection, what I said above is complete rubbish. The
> timestamp format difference is between the the planet dump and the API
> not Osmosis:
>
> Planet dump:
> <node id="2" lat="50.1360074" lon="8.3023717"
> timestamp="2007-10-04T18:28:37Z">
>
> API:
> <node id="2" lat="50.1360074" lon="8.3023717"
> timestamp="2007-10-04T19:28:37+01:00">
>
> My code, which is pants, wrongly assumes that Osmosis was using a
> timestamp like the API produces, when in fact its the same as the
> planet dump.
>
> Maybe I'll be able to fix it properly now I know what I'm talking
> about.
The timestamps in the planet dumps did match the API until a few months
ago. Brett and I agreed to converge on a common timestamp format since
the generic Java date parsing was horribly slow.
I suppose we could change the API to use this same format if it would
help other tools.
Jon
More information about the talk
mailing list