1.0.0 • Published 7 years ago

atx-low-water-crossings v1.0.0

Weekly downloads
2
License
ISC
Repository
github
Last release
7 years ago

atx-low-water-crossings

Retreives latest Austin, TX low water road crossing data from the City of Austin atxfloods application and returns it as GeoJSON. The package function takes 2 parameters, addStyle and callback.

  • @param {Boolean} addStyle - if true, adds simple-style properties to the Point features
  • @param {Function} callback - node-style callback
var atxCrossingData = require('atx-low-water-crossings')
atxCrossingData.getCrossingData(true, function(err, result) {
  if (err) {
    console.error(err.toString())
  }
  process.stdout.write(JSON.stringify(result))
})