3 ms·
Building an earthquake map with RethinkDB and GeoJSON
- jasondc 12y agoThe r.http command in RethinkDB is interesting, is there another database that has anything similar? I can't think of one.
- coffeemug 12y agoSlava @ Rethink here. Not sure if anyone else supports it, but check out http://rethinkdb.com/docs/external-api-access/ http://rethinkdb.com/docs/external-api-access/ for more interesting details on the command.
- jmakeig 12y agoYes, MarkLogic includes a full HTTP client and server so you can create and consume web services. In XQuery this would look like: xdmp:http-get("http://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/2.5_month.geojson") or in the upcoming release, you'll be able to do the same in server-side JavaScript (embedded V8): xdmp.httpGet("http://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/2.5_month.geojson"); (Full disclosure: I’m a Product Manager at MarkLogic.) I find this really convenient for quickly standing up web services and doing ETL-type logic that runs close to the data in the database.