Closed vvvo closed 4 years ago
Thanks @vvvo — I'm sorry but what is missing from the applicant map link? Is the data current on ZoLa? Do you think the data is outdated?
I think the applicant map data might be outdated - it's missing R7A, R7X, & R3-2 (which is correctly shown in ZoLa map below.
That's @vvvo, that's very helpful.
This may be pointing to outdated data.
@hannahkates do you have any insight here?
SQL query is consistent across:
SELECT cartodb_id AS id, * FROM (SELECT the_geom_webmercator, zonedist, CASE WHEN SUBSTRING(zonedist, 3, 1) = '-' THEN LEFT(zonedist, 2) WHEN SUBSTRING(zonedist, 3, 1) ~ E'[A-Z]' THEN LEFT(zonedist, 2) WHEN SUBSTRING(zonedist, 3, 1) ~ E'[0-9]' THEN LEFT(zonedist, 3) ELSE zonedist END as primaryzone, cartodb_id FROM zoning_districts) a
That said, ZoLa points to https://labs-layers-api.herokuapp.com/v1/layer-groups and Applicant Maps points to https://layers-api.planninglabs.nyc/v1/layer-groups.
This may be the source of the issue. I'll dig in a bit more.
Scratch all that, this is why: https://github.com/NYCPlanning/labs-applicantmaps/blob/d61a4d40e821632516a0a654721310dc8cf678d0/app/utils/queries/intersecting-zoning-query.js#L26
It is pointing to an outdated version of zoning! Will push a fix asap.
Confirming that the deploy preview of my patch shows the updated zoning geometries. @vvvo does this look right? We'll try to get this deployed ASAP.
I believe you can "refresh" by going in and visiting the rezoning step.
@vvvo wanted to follow up on this
Yep looks right. Thanks Matt!
Hey @allthesignals , I'm trying to redo this map again and the same issue is popping up (map showing old zoning districts).
@vvvo sorry about that i think we need to deploy the new code
The map I just made in queens shows inaccurate data.
See applicant map: https://applicantmaps.planning.nyc.gov/projects/7XWv0JBa8PnhaQx8PJD9/edit/map/edit
See accompanying zoning sectional map for reference: Zoning Sectional Map_Zoomed In.pdf