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

Add Business Improvement District (BID) Shapefiles to Map Search #849

Closed
11 tasks
mattyweb opened this issue Nov 13, 2020 · 4 comments
Closed
11 tasks

Add Business Improvement District (BID) Shapefiles to Map Search #849

mattyweb opened this issue Nov 13, 2020 · 4 comments
Labels
Enhancement New feature or request P-feature: Map Role: Backend Related to API or other server-side work Size: Missing Tech Stack: Old

Comments

@mattyweb
Copy link
Collaborator

mattyweb commented Nov 13, 2020

Overview

We need users of the 311 data app to be able to find the data by multiple district types (city, county, neighborhood) to increase the reach of users within Los Angeles.

Example

Business Improvement Districts can look up the 311 requests that are in their district boundaries. BIDs would be treated in the app just like Neighborhood Council Districts and City Council districts.

Assumptions

  1. The city will provide BID geometries in a single GeoJSON file
  2. BIDs will have a name and a shape
  3. we can use the document here:
  4. There are around 40 BIDs in the city

Action Items

  • Add GIS extension to Postgres | Backend | Not sure this is strictly necessary to make BIDs work? But we should maybe do it anyway.
  • Add BID table with ids/names (similar to the new councils table) | Backend | Need to modify migration that currently creates the councils table.
  • New migration to batch add points for requests | Backend | Since there are 6mm requests I think we should batch encode what we have (but i really don't know how long encoding is going to take until we try it...)
  • New migration to add geometries for BIDs (and other stuff) | Backend | We currently have long and lat columns and i think need to transform these into points
  • Code requests by BID during ingestion | Backend | Geopandas could do this based on the BID geojson. Yeah, not sure if Geopandas or Postgis is the better approach here. Ideally we'd try both and pick the winner
  • Add metadata endpoint for BIDs (similar to the new councils endpoint) | Backend |  
  • Modify open-requests/counts endpoints to include BID counts | Backend | Not clear yet whether the counts would be included in /open-requests or would come from a separate endpoint
  • Modify /comparison endpoints and underlying services to accept list of BIDs | Backend | Do we need BIDs in the comparison reports? They are not uniform, contiguous, etc.
  • Include BID metadata in data we initially load from server | Frontend | This would be included in the general refactor we've been discussing where we load metadata from the API, and store it in redux, rather than taking it from a constants file
  • Add BID geojson to map as another layer | Frontend |  
  • Modify comparison-tool dropdowns to allow BID selection | Frontend |  

Resources

  • Get District Types API from Data Science community of practice CoP: Data Science: Create district types reusable tool (API, single dataset, etc.) data-science#118

  • From the city of LA's open data website Business Improvement Districts Map Interface

  • A business improvement district is a geographically defined area within the City of Los Angeles in which services, activities, and programs are paid for through a special assessment that is charged to all members within the district. They do this to equitably distribute the benefits received and the costs incurred to provide the agreed-upon services, activities, and programs. The assessment money is collected by the City or by the County through a special contractual arrangement with the city. Because the assessment funds collected in a given district cannot legally be spent outside of that BID, the City creates a trust fund for each BID, with funds periodically released to support operations.

@mattyweb mattyweb added the Enhancement New feature or request label Nov 13, 2020
@mattyweb mattyweb changed the title Allow users to report on service requests by Business Improvement District (BID) [FEAT] Allow users to report on service requests by Business Improvement District (BID) Nov 13, 2020
@github-actions

This comment was marked as off-topic.

@github-actions github-actions bot added the Stale label Mar 18, 2021
@mattyweb mattyweb removed the Stale label Mar 18, 2021
@github-actions

This comment was marked as off-topic.

@EchoProject
Copy link
Contributor

Adding this Issue to items for review for the product roadmap.

@EchoProject EchoProject added this to the Post v2 milestone Oct 26, 2021
@ExperimentsInHonesty ExperimentsInHonesty added the Dependency An issue that includes dependencies label Nov 9, 2021
@EchoProject EchoProject removed Dependency An issue that includes dependencies Role: Product Management labels May 13, 2022
@EchoProject
Copy link
Contributor

Reviving this Issue and moving from Icebox to New Issue Approval.

@EchoProject EchoProject changed the title [FEAT] Allow users to report on service requests by Business Improvement District (BID) Add Business Improvement District (BID) Shapefiles to Map Search May 13, 2022
@EchoProject EchoProject added the Role: Backend Related to API or other server-side work label May 13, 2022
@EchoProject EchoProject removed this from the Post v2 milestone Dec 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request P-feature: Map Role: Backend Related to API or other server-side work Size: Missing Tech Stack: Old
Projects
Status: Done (without merge)
Development

No branches or pull requests

5 participants