[Realtime-feed-users] Id stability in the GeoJSON feed

Adam Kalachman akalachman at google.com
Fri Apr 8 23:12:19 UTC 2016


Hi,

I have a couple of questions regarding id stability in the GeoJSON
earthquakes feed. The 'ids' field appears to specify the id of each
contributing network, but is there any consistency to the ordering of this
field? Best I can tell, it's neither chronological nor alphabetical.

Assuming the order is arbitrary, is there some way that a stable record id,
independent of any individual sensor networks, could be added to the
GeoJSON schema?

For example, say the feed reports an earthquake with ids ak000, us001, and
nc002, and preferred id us001. Then a client of the feed might've seen
ak000 and nc002 previously, and it's the responsibility of the client to
track down those earthquake summaries and replace or merge them with the
new data. If, however, all three were assigned a single stable id, say,
eq0003, then each updated summary could more easily replace its previous
versions.

Thanks,
Adam

-- 

Adam Kalachman | Software Engineer | akalachman at google.com | 256-509-5336
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://geohazards.usgs.gov/pipermail/realtime-feed-users/attachments/20160408/35ada315/attachment.html>


More information about the Realtime-feed-users mailing list