0.0.8 • Published 7 years ago

wdft-geojson v0.0.8

Weekly downloads
30
License
-
Repository
github
Last release
7 years ago

water data for texas - reservoir conditions - geojson

a pair of functions which creates a current reservoir conditions geojson from the water data for texas database. Code request the source data from here

the two functions which the stream can be passed through:

  • stream(options)
    • @param {Object} options - optional declaration of the geometries to be used
  • style()
    • takes no paramters

visualization

quick and dirty visualization. for functional examples, see the 'examples' directory of this repo

var WDFTGeoJSON = require('wdft-geojson');
var request = require('request');
var JSONStream = require('JSONStream');
var request = require('request');

request.get('http://waterdatafortexas.org/reservoirs/recent-conditions.json')
      .pipe(JSONStream.parse())
      .pipe(WDFTGeoJSON.stream({geometries: reservoirs}))
      .pipe(WDFTGeoJSON.style())
      .pipe(JSONStream.stringify(false))
      .pipe(process.stdout);
0.0.8

7 years ago

0.0.6

8 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago