Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including seattle-boundaries with all npm packages installed. Try it out:

var seattleBoundaries = require("seattle-boundaries")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

seattle-boundaries v5.0.0

geojson boundaries for seattle

Seattle boundaries

GeoJSON for various boundaries within Seattle

Boundaries

Install

To install the Node.js module:

npm install --save seattle-boundaries

Usage

var boundaries = require('seattle-boundaries')

var matches = boundaries({
  long: -122.345002,
  lat: 47.667044,
  dataset: dataset
})

Returns a FeatureCollection where all the features are a match for the point. The slug of the dataset that the feature is from is stored in the properties of the feature with the key dataset.

Contributing

  • Fork the repo
  • Create a branch for your changes
  • Submit pull request
  • When possible, we attempt to pull data from City of Seattle using Node.js but we are open to other solutions as well.

See also

TODO

See the issues queue for todos.

License

CC0 1.0 Universal (CC0 1.0)

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free