[Realtime-feeds] GeoJSON(P) feeds now include metadata

Fee, Jeremy jmfee at usgs.gov
Thu Feb 28 23:05:49 UTC 2013


Hello,

There is a new top level "metadata" property in all GeoJSON feeds with
additional information about the feed:

metadata: {
    generated: 1362092199000,
    url: "http://earthquake.usgs.gov/earthquakes/feed/geojsonp/2.5/week",
    title: "USGS Magnitude 2.5+ Earthquakes, Past Week",
    subTitle: "Real-time, worldwide earthquake list for the past week",
    cacheMaxAge: 60
}


generated - millisecond timestamp when the feed was generated
url - url where the feed is available
title - title of feed
subTitle - sub title of feed
cacheMaxAge - number of seconds feed is cached between updates


Thanks,

Jeremy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://geohazards.usgs.gov/pipermail/realtime-feeds/attachments/20130228/44636ff6/attachment.html>


More information about the Realtime-feeds mailing list