seattle-boundaries-data
seattle-boundaries-data
npm i seattle-boundaries-data
seattle-boundaries-data

seattle-boundaries-data

geojson for various boundaries in Seattle

by seattleio

5.0.3 (see all)TypeScript:Not Found
npm i seattle-boundaries-data
Readme

seattle-boundaries-data

GeoJSON for various boundaries related to Seattle.

Boundaries

How to access the data

Web map

At boundaries.seattle.io you can view each boundary on a map by entering a location.

JSON API

Request the data via a JSON API by using boundaries-api.seattle.io.

Example request:

GET https://boundaries-api.seattle.io/boundaries?long=-122.345002&lat=47.667044

npm

This data is available via npm to use as a JavaScript/Node.js module.

Install:

npm install --save seattle-boundaries-data

Usage:

var boundaries = require('seattle-boundaries-data')

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.

Dat

Dat is a decentralized data-sharing tool. There are a few ways you might get this data using Dat.

Dat command-line tool

npm i -g dat
dat clone dat://a20663417ea679e7b9230ffba08f1da65072d5790112e20c3bb8bb24df46e25a seattle-boundaries-data

Dat Desktop

The desktop app lets you download and share files via Dat.

  • Install the Dat Desktop app
  • Import this dat dat://a20663417ea679e7b9230ffba08f1da65072d5790112e20c3bb8bb24df46e25a
  • View the downloaded files

Beaker Browser

Beaker is a new browser with support for p2p file sharing.

  • Install Beaker
  • visit dat://a20663417ea679e7b9230ffba08f1da65072d5790112e20c3bb8bb24df46e25a as a url in the Beaker

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.

TODO

See the issues queue for todos.

License

CC0 1.0 Universal (CC0 1.0)

Downloads/wk

0

GitHub Stars

38

LAST COMMIT

6yrs ago

MAINTAINERS

1

CONTRIBUTORS

4

OPEN ISSUES

13

OPEN PRs

1
VersionTagPublished
5.0.3
latest
6yrs ago
No alternatives found
No tutorials found
Add a tutorial

Rate & Review

100
No reviews found
Be the first to rate