bushfires

command module
v0.0.0-...-4e19fd2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 30, 2016 License: MIT Imports: 16 Imported by: 0

README

Bushfires

Part of a collection of tools used to provide an API to NSW bushfire data: Data collector, Importer and GeoJSON API (this repo)

NOTE: This project is a work in progress. There is no public API offered yet.

The NSW Rural Fire Service publish RSS feeds of incident data. In particular, they provide a GeoRSS feed of current major incidents. Developers seeking bushfire data must parse this feed to get the latest reports for current incidents.

The aim of this project is to provide more data than just the current incidents. It should provide access to historical data, all the reports for a given incident, as well as offering the data that the current RFS GeoRSS provides. On top of providing access to more data, this project aims to deliver it in a more developer-friendly format: GeoJSON.

Usage

This API is built using the Go library Tigertonic. It works with data stored in a PostgreSQL database. Refer to the importer's README for information on setting up the database.

Once your database is set up, set your DATABASE_URL environment variable, e.g. postgres://user:pass@localhost/database_name?sslmode=disable.

To serve the API, run:

$ bushfires

There are additional config options available for this command, which can be viewed by running bushfires --help.

API Documentation

Visit the API docs.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Godeps
_workspace/src/github.com/lib/pq
Package pq is a pure Go Postgres driver for the database/sql package.
Package pq is a pure Go Postgres driver for the database/sql package.
_workspace/src/github.com/rcrowley/go-metrics
Go port of Coda Hale's Metrics library <https://github.com/rcrowley/go-metrics> Coda Hale's original work: <https://github.com/codahale/metrics>
Go port of Coda Hale's Metrics library <https://github.com/rcrowley/go-metrics> Coda Hale's original work: <https://github.com/codahale/metrics>
Metrics output to StatHat.
_workspace/src/github.com/rcrowley/go-tigertonic
Tiger Tonic [1] is a Go framework for building JSON web services inspired by Dropwizard [2].
Tiger Tonic [1] is a Go framework for building JSON web services inspired by Dropwizard [2].
_workspace/src/github.com/rcrowley/go-tigertonic/mocking
Package mocking makes testing Tiger Tonic services easier.
Package mocking makes testing Tiger Tonic services easier.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL