Coder Social home page Coder Social logo

seattle-boundaries-data's Introduction

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)

seattle-boundaries-data's People

Contributors

sethvincent avatar johntigue avatar housepage avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.