Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display simple analytics #5

Open
juliekdang opened this issue Jun 25, 2016 · 4 comments
Open

Display simple analytics #5

juliekdang opened this issue Jun 25, 2016 · 4 comments

Comments

@juliekdang
Copy link
Collaborator

On buffer result:

  • population within buffer
  • % of DC land area within buffer
  • number / % of residential properties within buffer
@sara4844
Copy link
Collaborator

I am working on researching data and geojson files related to Montgomery county

@alongthepike
Copy link
Collaborator

% of DC land within buffer should be a straightforward call to turf-area.

@alongthepike
Copy link
Collaborator

Population within buffer can probably be accomplished by pulling a GeoJSON of population by census block group and checking each block group polygon against the buffer with (turf-intersect)[http://turfjs.org/docs/#intersect] If they DO intersect, then that means some portion of that block group is within the buffer and its population should be counted in some way (either naively - if any part touches then we consider the whole block group within the buffer or try to get fancy at look at the % of the geographic area of the block group that intersects and count that % of the population).

@alongthepike
Copy link
Collaborator

Depending on how these perform they may have to be pre-computed beforehand and stored for display or we may be able to just run turf in the browser.

alongthepike pushed a commit that referenced this issue Aug 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants