codeforkansascity / Neighborhood-Dashboard

We're working to help neighborhoods help themselves by giving them easy access to useful data to allow them to identify and track problem areas in their neighborhood.
https://neighborhood-dashboard.codeforkc.org/
MIT License
18 stars 9 forks source link

Drawing polygon or overlaying other geographies? #83

Closed AmandaWilsonKC closed 5 years ago

AmandaWilsonKC commented 7 years ago

how difficult would it be to have our tool have the capability to draw a polygon over an area and pull in data in just that area?

Follow up question, how difficult would it be to add other geographic boundaries like council districts and have our tool pull data in just that boundary?

This is NOT needed for the MVP but would be great for version #2 or 3.

JakeLaCombe commented 7 years ago

We'd have to determine what colors we want to ensure they do not collide, but I think it would be possible.

JakeLaCombe commented 7 years ago

As for pulling in the other boundaries, it's possible with any data from the socrata API's, but I don't know how well it will work with the address-api. It doesn't take in a set of coordinates to get all the data that lies within that range, and instead bases it's selection on the neighborhood passed into the API

JakeLaCombe commented 7 years ago

Is this for drawing one inside an individual neighborhood? If so, that could be doable.

JakeLaCombe commented 7 years ago

Update. I've asked the address api to include the ability to filter addresses by polygon region. You can track that here.

https://github.com/codeforkansascity/address-api/issues/123