311-data icon indicating copy to clipboard operation
311-data copied to clipboard

Need to load latest available NC boundary json data

Open ryanfchase opened this issue 1 year ago • 4 comments

Dependency

  • [ ] Create an Emergent Request detailing why we should consider doing this

Overview

We need to identify and upload the most recent available version of NC boundaries as a json file since the 2019 json data is outdated.

Blocks

  • https://github.com/hackforla/311-data/pull/1744

Action Items

  • [ ] Obtain a more recent json file with NC boundary data
    • [ ] comment where you have obtained this data, ideally from a trusted city source
  • [ ] test the data by substituting the 2019 json with this new json file
  • [ ] upload an image of the new boundary data being rendered on the map

Resources/Instructions

Useful Files and Components

  • districts.js: components/Map/districts.js
    • note: this may not be heavily used
    • L4: importing the data from nc-boundary-2019-modified.json
    • L19: the function `ncInfoFromLngLat
Screenshot before proposed changes

image

Screenshot after proposed changes

[TODO: insert screenshot here]

ryanfchase avatar Sep 07 '24 07:09 ryanfchase

This ticket is ready for dev lead review -- if this should be a Good First Issue, I can add more instruction to support the new dev in completing the ticket.

ryanfchase avatar Sep 07 '24 07:09 ryanfchase

Reviewing as dev lead: ETA - 9/8 Time - 12pm PT

traycn avatar Sep 07 '24 18:09 traycn

moving this back to draft and assigning myself. As I started to point to areas of the code that would need to change, I realized there's a fair amount of similarly named variables... I need to differentiate between use of ncGeoJson js file, and the nc-boundary-2019-modified.json file.

ryanfchase avatar Sep 09 '24 06:09 ryanfchase

I'm moving this very temporarily to Icebox, while I create an ER for this so that the task can be broken down into component pieces, making it easier for devs to tackle without a high degree of guidance.

ryanfchase avatar Sep 25 '24 21:09 ryanfchase

Just adding a piece of context. While reading up on communications between the old PM Lead and Dept of Neighborhood Empowerment, it seems that in the past we used to specifically request the most updated version of the map. I believe the latest version of the map comes from 2018. I also recall that we shouldn't ask LA's Information Technology Agency (ITA) for info on latest boundaries. Apparently they just upload the data, and aren't necessarily informed on its relevance.

I will be moving this to ready for product to decide how to proceed on this.

cc @bberhane, ty for calling ITA that one time

ryanfchase avatar Jan 20 '25 07:01 ryanfchase