From b4a461ed2b88f097065324d571bb9ad580de34e5 Mon Sep 17 00:00:00 2001 From: Matt Gardner Date: Fri, 22 Oct 2021 14:12:34 -0500 Subject: [PATCH 1/2] Update building class in tax lots for latest PLUTO; Prefer Node 12 --- .github/workflows/main.yml | 2 +- app/models/map-features/lot.js | 295 +++++++++++++++++---------------- package.json | 2 +- 3 files changed, 150 insertions(+), 149 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4e22cb7eb..9c3992c48 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,7 +15,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: - node-version: 10.x + node-version: 12.x - name: install dependencies run: yarn install --frozen-lockfile --non-interactive - name: build diff --git a/app/models/map-features/lot.js b/app/models/map-features/lot.js index bf46de77b..a69c54875 100644 --- a/app/models/map-features/lot.js +++ b/app/models/map-features/lot.js @@ -22,10 +22,11 @@ const getPrimaryZone = (zonedist = '') => { return primary; }; +// https://github.com/NYCPlanning/db-pluto/blob/main/pluto_build/data/lookup_bldgclass.csv const bldgclassLookup = { A0: 'One Family Dwellings - Cape Cod', - A1: 'One Family Dwellings - Two Stories Detached (Small or Moderate Size, With or Without Attic)', - A2: 'One Family Dwellings - One Story (Permanent Living Quarters)', + A1: 'One Family Dwellings - Two Stories Detached', + A2: 'One Family Dwellings - One Story', A3: 'One Family Dwellings - Large Suburban Residence', A4: 'One Family Dwellings - City Residence', A5: 'One Family Dwellings - Attached or Semi-Detached', @@ -33,174 +34,173 @@ const bldgclassLookup = { A7: 'One Family Dwellings - Mansion Type or Town House', A8: 'One Family Dwellings - Bungalow Colony/Land Coop Owned', A9: 'One Family Dwellings - Miscellaneous', - + B1: 'Two Family Dwellings - Brick', - B2: 'Frame', - B3: 'Converted From One Family', - B9: 'Miscellaneous', - - C0: 'Walk-up Apartments - Three Families', - C1: 'Walk-up Apartments - Over Six Families Without Stores', - C2: 'Walk-up Apartments - Five to Six Families', - C3: 'Walk-up Apartments - Four Families', - C4: 'Walk-up Apartments - Old Law Tenements', - C5: 'Walk-up Apartments - Converted Dwelling or Rooming House', - C6: 'Walk-up Apartments - Cooperative', - C7: 'Walk-up Apartments - Over Six Families With Stores', - C8: 'Walk-up Apartments - Co-Op Conversion From Loft/Warehouse', - C9: 'Walk-up Apartments - Garden Apartments', - CM: 'Mobile Homes/Trailer Parks', - - D0: 'Elevator Apartments - Co-op Conversion from Loft/Warehouse', + B2: 'Two Family Dwellings - Frame', + B3: 'Two Family Dwellings - Converted From One Family', + B9: 'Two Family Dwellings - Miscellaneous', + + C0: 'Walk Up Apartments - Three Families', + C1: 'Walk Up Apartments - Over Six Families Without Stores', + C2: 'Walk Up Apartments - Five to Six Families', + C3: 'Walk Up Apartments - Four Families', + C4: 'Walk Up Apartments - Old Law Tenements', + C5: 'Walk Up Apartments - Converted Dwelling or ROoming House', + C6: 'Walk Up Apartments - Cooperative', + C7: 'Walk Up Apartments - Over Six Families With Stores', + C8: 'Walk Up Apartments - Co-Op Conversion From Loft/Warehouse', + C9: 'Walk Up Apartments - Garden Apartments', + CM: 'Walk Up Apartments - Mobile Homes/Trailer Parks', + + D0: 'Elevator Apartments - Co-Op Conversion from Loft/Warehouse', D1: 'Elevator Apartments - Semi-fireproof (Without Stores)', D2: 'Elevator Apartments - Artists in Residence', D3: 'Elevator Apartments - Fireproof (Without Stores)', D4: 'Elevator Apartments - Cooperatives (Other Than Condominiums)', D5: 'Elevator Apartments - Converted', - D6: 'Elevator Apartments - Fireproof With Stores', - D7: 'Elevator Apartments - Semi-Fireproof With Stores', + D6: 'Elevator Apartments - Fireproof (With Stores)', + D7: 'Elevator Apartments - Semi-fireproof (With Stores)', D8: 'Elevator Apartments - Luxury Type', D9: 'Elevator Apartments - Miscellaneous', - + E1: 'Warehouses - Fireproof', - E2: 'Warehouses - Contractor’s Warehouse', - E3: 'Warehouses - Semi-Fireproof', + E2: 'Warehouses - Contractors Warehouse', + E3: 'Warehouses - Semi-fireproof', E4: 'Warehouses - Frame, Metal', E7: 'Warehouses - Warehouse, Self Storage', E9: 'Warehouses - Miscellaneous', - - F1: 'Factory and Industrial Buildings - Heavy Manufacturing - Fireproof', - F2: 'Factory and Industrial Buildings - Special Construction - Fireproof', - F4: 'Factory and Industrial Buildings - Semi-Fireproof', + + F1: 'Factory and Industrial Buildings - Heavy Manufacturing (Fireproof)', + F2: 'Factory and Industrial Buildings - Special Construction (Fireproof)', + F4: 'Factory and Industrial Buildings - Semi-fireproof', F5: 'Factory and Industrial Buildings - Light Manufacturing', F8: 'Factory and Industrial Buildings - Tank Farms', F9: 'Factory and Industrial Buildings - Miscellaneous', - - G: 'GARAGES AND GASOLINE STATIONS', - G0: 'Residential Tax Class 1 Garage', - G1: 'All Parking Garages', - G2: 'Auto Body/Collision or Auto Repair', - G3: 'Gas Station with Retail Store', - G4: 'Gas Station with Service/Auto Repair', - G5: 'Gas Station only with/without Small Kiosk', - G6: 'Licensed Parking Lot', - G7: 'Unlicensed Parking Lot', - G8: 'Car Sales/Rental with Showroom', - G9: 'Miscellaneous Garage or Gas Station', - GU: 'Car Sales/Rental without Showroom', - GW: 'Car Wash or Lubritorium Facility', - + + G0: 'Garages and Gasoline Stations - Residential Tax Class 1 Garage', + G1: 'Garages and Gasoline Stations - All Parking Garages', + G2: 'Garages and Gasoline Stations - Auto Body/Collision or Auto Repair', + G3: 'Garages and Gasoline Stations - Gas Station with Retail Store', + G4: 'Garages and Gasoline Stations - Gas Station with Service/Auto Repair', + G5: 'Garages and Gasoline Stations - Gas Station only with/without Small Kiosk', + G6: 'Garages and Gasoline Stations - Licensed Parking Lot', + G7: 'Garages and Gasoline Stations - Unlicensed Parking Lot', + G8: 'Garages and Gasoline Stations - Car Sales/Rental with Showroom', + G9: 'Garages and Gasoline Stations - Miscellaneous Garage or Gas Station', + GU: 'Garages and Gasoline Stations - Car Sales/Rental without Showroom', + GW: 'Garages and Gasoline Stations - Car Wash or Lubritorium Facility', + H1: 'Hotels - Luxury Type', H2: 'Hotels - Full Service Hotel', - H3: 'Hotels - Limited Service – Many Affiliated with National Chain', + H3: 'Hotels - Limited Service', H4: 'Hotels - Motels', H5: 'Hotels - Private Club, Luxury Type', H6: 'Hotels - Apartment Hotels', - H7: 'Hotels - Apartment Hotels-Co-op Owned', + H7: 'Hotels - Apartment Hotels/Co-Op Owned', H8: 'Hotels - Dormitories', H9: 'Hotels - Miscellaneous', - HB: 'Hotels - Boutique 10-100 Rooms, with Luxury Facilities, Themed, Stylish, with Full Service Accommodations', - HH: 'Hotels - Hostel-Bed Rental in Dorm Like Setting with Shared Rooms & Bathrooms', - HR: 'Hotels - SRO- 1 or 2 People Housed in Individual Rooms in Multiple Dwelling Affordable Housing', - HS: 'Hotels - Extended Stay/Suite Amenities Similar to Apt., Typically Charge Weekly Rates & Less Expensive than Full Service Hotel', - + HB: 'Hotels - Boutique 10-100 Rooms', + HH: 'Hotels - Hostel/Bed Rental in Dorm Like Setting', + HR: 'Hotels - SRO', + HS: 'Hotels - Extended Stay/Suite Amenities Similar to Apt.', + I1: 'Hospitals and Health - Hospitals, Sanitariums, Mental Institutions', I2: 'Hospitals and Health - Infirmary', I3: 'Hospitals and Health - Dispensary', I4: 'Hospitals and Health - Staff Facilities', - I5: 'Hospitals and Health - Health Center, Child Center, Clinic', + I5: 'Hospitals and Health - Health Center/Child Center/Clinic', I6: 'Hospitals and Health - Nursing Home', - I7: 'Hospitals and Health - Adult Care Facility', - I9: 'Hospitals and Health - Miscellaneous', - - J1: 'Theatres - Art Type (Seating Capacity under 400 Seats)', - J2: 'Theatres - Art Type (Seating Capacity Over 400 Seats)', - J3: 'Theatres - Motion Picture Theatre with Balcony', - J4: 'Theatres - Legitimate Theatres (Theatre Sole Use of Building)', + I7: 'Hospitals and Health - Adut Care Facility', + I9: 'Hospitals and Health - Miscellaenous', + + J1: 'Theatres - Art Type (under 400 capacity', + J2: 'Theatres - Art Type (over 400 capacity', + J3: 'Theatres - Motion Picture Theatre With Balcony', + J4: 'Theatres - Legitimate Theatres (Sole Use of Building)', J5: 'Theatres - Theatre in Mixed Use Building', - J6: 'Theatres - T.V. Studios', - J7: 'Theatres - Off-Broadway Type', + J6: 'Theatres - TV Studios', + J7: 'Theatres - Off-Broadway Theatre', J8: 'Theatres - Multiplex Picture Theatre', J9: 'Theatres - Miscellaneous', - - K1: 'Store Buildings (Taxpayers Included) - One Story Retail Building', - K2: 'Store Buildings (Taxpayers Included) - Multi-Story Retail Building', - K3: 'Store Buildings (Taxpayers Included) - Multi-Story Department Store', - K4: 'Store Buildings (Taxpayers Included) - Predominant Retail with Other Uses', - K5: 'Store Buildings (Taxpayers Included) - Stand Alone Food Establishment', - K6: 'Store Buildings (Taxpayers Included) - Shopping Centers With or Without Parking', - K7: 'Store Buildings (Taxpayers Included) - Banking Facilities with or Without Parking', - K8: 'Store Buildings (Taxpayers Included) - Big Box Retail Not Affixed & Standing On Own Lot with Parking', - K9: 'Store Buildings (Taxpayers Included) - Miscellaneous', - - L1: 'Loft Buildinghs - Over Eight Stores (Mid-Manhattan Type)', - L2: 'Loft Buildinghs - Fireproof and Storage Type (Without Stores)', - L3: 'Loft Buildinghs - Semi-Fireproof', - L8: 'Loft Buildinghs - With Retail Stores Other Than Type 1', - L9: 'Loft Buildinghs - Miscellaneous', - - M1: 'Churches, Synagogues, etc. - Church, Synagogue, Chapel', - M2: 'Churches, Synagogues, etc. - Mission House (Non-Residential)', - M3: 'Churches, Synagogues, etc. - Parsonage, Rectory', - M4: 'Churches, Synagogues, etc. - Convents', - M9: 'Churches, Synagogues, etc. - Miscellaneous', - + + K1: 'Store Buildings - One Story Retail', + K2: 'Store Buildings - Multi-Story Retail', + K3: 'Store Buildings - Multi-Story Department Store', + K4: 'Store Buildings - Predominant Retail with Other Uses', + K5: 'Store Buildings - Stand Alone Food Establishment', + K6: 'Store Buildings - Shopping Centers With or Without Parking', + K7: 'Store Buildings - Banking Facilities With or Without Parking', + K8: 'Store Buildings - Big Box Retail Not Affixed & Standing on own Lot with Parking', + K9: 'Store Buildings - Miscellaneous', + + L1: 'Loft Buildings - Over Eight Stories (Mid-Manhattan Type', + L2: 'Loft Buildings - Fireproof and Storage Type (Without Stores)', + L3: 'Loft Buildings - Semi-fireproof', + L8: 'Loft Buildings - With Retail Stores Other Than Type 1', + L9: 'Loft Buildings - Miscellaneous', + + M1: 'Churches, Synagogues, Etc - Churhc, Synagogue, Chapel', + M2: 'Churches, Synagogues, Etc - Mission Houses (Non-Residential)', + M3: 'Churches, Synagogues, Etc - Parsonage, Rectory', + M4: 'Churches, Synagogues, Etc - Convents', + M9: 'Churches, Synagogues, Etc - Miscellaneous', + N1: 'Asylums and Homes - Asylums', - N2: 'Asylums and Homes - Homes for Indigent Children, Aged, Homeless', + N2: 'Asylums and Homes - Homes for Indigent Children, Aged, and Homeless', N3: 'Asylums and Homes - Orphanages', - N4: 'Asylums and Homes - Detention House For Wayward Girls', + N4: 'Asylums and Homes - Detention House for Wayward Girls', N9: 'Asylums and Homes - Miscellaneous', - - O1: 'Office Buildings - Office Only – 1 Story', - O2: 'Office Buildings - Office Only – 2-6 Stories', - O3: 'Office Buildings - Office Only – 7-19 Stories', - O4: 'Office Buildings - Office Only or Office with Comm – 20 Stories or More', - O5: 'Office Buildings - Office with Comm – 1 to 6 Stories', - O6: 'Office Buildings - Office with Comm – 7 to 19 Stories', + + O1: 'Office Buildings - Office Only - 1 Story', + O2: 'Office Buildings - Office Only - 2 to 6 Stories', + O3: 'Office Buildings - Office Only - 7 to 19 Stories', + O4: 'Office Buildings - Office Only or Office with Comm - 20 Stories or More', + O5: 'Office Buildings - Office with Comm - 1 to 6 Stories', + O6: 'Office Buildings - Office with Comm - 7 to 19 Stories', O7: 'Office Buildings - Professional Buildings/Stand Alone Funeral Homes', O8: 'Office Buildings - Office with Apartments Only (No Comm)', - O9: 'Office Buildings - Miscellaneous and Old Style Bank Bldgs', - - P1: 'Places of Public Assembly (indoor) and Cultural - Concert Halls', - P2: 'Places of Public Assembly (indoor) and Cultural - Lodge Rooms', - P3: 'Places of Public Assembly (indoor) and Cultural - YWCA, YMCA, YWHA, YMHA, PAL', - P4: 'Places of Public Assembly (indoor) and Cultural - Beach Club', - P5: 'Places of Public Assembly (indoor) and Cultural - Community Center', - P6: 'Places of Public Assembly (indoor) and Cultural - Amusement Place, Bathhouse, Boat House', - P7: 'Places of Public Assembly (indoor) and Cultural - Museum', - P8: 'Places of Public Assembly (indoor) and Cultural - Library', - P9: 'Places of Public Assembly (indoor) and Cultural - Miscellaneous', - + O9: 'Miscellaneous and Oly Style Bank Bldgs', + + P1: 'Places of Public Assembly (Indoor) and Cultural - Concert Halls', + P2: 'Places of Public Assembly (Indoor) and Cultural - Lodge Rooms', + P3: 'Places of Public Assembly (Indoor) and Cultural - YWCA, YMCA, YWHA, YMHA, PAL', + P4: 'Places of Public Assembly (Indoor) and Cultural - Beach Club', + P5: 'Places of Public Assembly (Indoor) and Cultural - Community Center', + P6: 'Places of Public Assembly (Indoor) and Cultural - Amusement Place, Bathhouse, Boat House', + P7: 'Places of Public Assembly (Indoor) and Cultural - Museum', + P8: 'Places of Public Assembly (Indoor) and Cultural - Library', + P9: 'Places of Public Assembly (Indoor) and Cultural - Miscellaenous', + Q0: 'Outdoor Recreation Facilities - Open Space', Q1: 'Outdoor Recreation Facilities - Parks/Recreation Facilities', Q2: 'Outdoor Recreation Facilities - Playground', Q3: 'Outdoor Recreation Facilities - Outdoor Pool', Q4: 'Outdoor Recreation Facilities - Beach', Q5: 'Outdoor Recreation Facilities - Golf Course', - Q6: 'Outdoor Recreation Facilities - Stadium, Race Track, Baseball Field', + Q6: 'Outdoor Recreation Facilities - Stadium/Race Track/Baseball Field', Q7: 'Outdoor Recreation Facilities - Tennis Court', Q8: 'Outdoor Recreation Facilities - Marina, Yacht Club', Q9: 'Outdoor Recreation Facilities - Miscellaneous', - + R0: 'Condominiums - Condo Billing Lot', - R1: 'Condominiums - Residential Unit in 2-10 Unit Bldg', - R2: 'Condominiums - Residential Unit in Walk-Up Bldg', - R3: 'Condominiums - Residential Unit in 1-3 Story Bldg', - R4: 'Condominiums - Residential Unit in Elevator Bldg', - R5: 'Condominiums - Miscellaneous Commercial', - R6: 'Condominiums - Residential Unit of 1-3 Unit Bldg-Orig Class 1', - R7: 'Condominiums - Commercial Unit of 1-3 Units Bldg- Orig Class 1', - R8: 'Condominiums - Commercial Unit of 2-10 Unit Bldg', - R9: 'Condominiums - Co-op within a Condominium', - RA: 'Condominiums - Cultural, Medical, Educational, etc.', + R1: 'Condominiums - Residential Unit in 2 to 10 Unit Building', + R2: 'Condominiums - Residential Unit in Walk-Up Building', + R3: 'Condominiums - Residential Unit in 1 to 3 Story Building', + R4: 'Condominiums - Residential Unit in Elevator Buidling', + R5: 'Condominiums - Miscellaenous Commercial', + R6: 'Condominiums - Residential Unit of 1 to 3 Unit Building-Orig Class 1', + R7: 'Condominiums - Commercial Unit of 1 to 3 Unit Building-Orig Class 1', + R8: 'Condominiums - Commercial Unit of 2 to 10 Unit Building', + R9: 'Condominiums - Co-Op within a Condominium', + RA: 'Condominiums - Cultural, Medical, Educational, etc', RB: 'Condominiums - Office Space', - RC: 'Condominiums - Commercial Building (Mixed Commercial Condo Building Classification Codes)', - RD: 'Condominiums - Residential Building (Mixed Residential Condo Building Classification Codes)', + RC: 'Condominiums - Commercial Building (Mixed Commercial Condo Building Class Code)', + RD: 'Condominiums - Residential Building (Mixed Residential Condo Building Class Code)', RG: 'Condominiums - Indoor Parking', RH: 'Condominiums - Hotel/Boatel', RI: 'Condominiums - Mixed Warehouse/Factory/Industrial & Commercial', RK: 'Condominiums - Retail Space', - RM: 'Condominiums - Mixed Residential & Commercial Building (Mixed Residential & Commercial)', + RM: 'Condominiums - Mixed Residential & Commercial Building', RP: 'Condominiums - Outdoor Parking', RR: 'Condominiums - Condominium Rentals', RS: 'Condominiums - Non-Business Storage Space', @@ -208,19 +208,19 @@ const bldgclassLookup = { RW: 'Condominiums - Warehouse/Factory/Industrial', RX: 'Condominiums - Mixed Residential, Commercial & Industrial', RZ: 'Condominiums - Mixed Residential & Warehouse', - - S0: 'Residence (Multiple Use) - Primarily One Family with Two Stores or Offices', - S1: 'Residence (Multiple Use) - Primarily One Family with One Store or Office', - S2: 'Residence (Multiple Use) - Primarily Two Family with One Store or Office', - S3: 'Residence (Multiple Use) - Primarily Three Family with One Store or Office', - S4: 'Residence (Multiple Use) - Primarily Four Family with One Store or Office', - S5: 'Residence (Multiple Use) - Primarily Five to Six Family with One Store or Office', - S9: 'Residence (Multiple Use) - Single or Multiple Dwelling with Stores or Offices', - - T1: 'Transportation Facilities (Assessed in ORE) - Airport, Air Field, Terminal', - T2: 'Transportation Facilities (Assessed in ORE) - Pier, Dock, Bulkhead', - T9: 'Transportation Facilities (Assessed in ORE) - Miscellaneous', - + + S0: 'Residence - Multiple Use - Primarily One Family with Two Stores or Offices', + S1: 'Residence - Multiple Use - Primarily One Family with One Store or Office', + S2: 'Residence - Multiple Use - Primarily Two Family with One Store or Office', + S3: 'Residence - Multiple Use - Primarily Three Family with One Store or Office', + S4: 'Residence - Multiple Use - Primarily Four Family with One Store or Office', + S5: 'Residence - Multiple Use - Primarily Five to Six Family with One Store or Office', + S9: 'Residence - Multiple Use - Single or Multiple Dwelling with Stores or Offices', + + T1: 'Transportation Facilities - Airport, Air Field, Terminal', + T2: 'Transportation Facilities - Pier, Dock, Bulkhead', + T9: 'Miscellaneous', + U0: 'Utility Bureau Properties - Utility Company Land and Building', U1: 'Utility Bureau Properties - Bridge, Tunnel, Highway', U2: 'Utility Bureau Properties - Gas or Electric Utility', @@ -231,7 +231,7 @@ const bldgclassLookup = { U7: 'Utility Bureau Properties - Transportation - Public Ownership', U8: 'Utility Bureau Properties - Revocable Consent', U9: 'Utility Bureau Properties - Miscellaneous', - + V0: 'Vacant Land - Zoned Residential; Not Manhattan', V1: 'Vacant Land - Zoned Commercial or Manhattan Residential', V2: 'Vacant Land - Zoned Commercial Adjacent to Class 1 Dwelling; Not Manhattan', @@ -242,7 +242,7 @@ const bldgclassLookup = { V7: 'Vacant Land - Port Authority of NY and NJ', V8: 'Vacant Land - New York State & U.S. Government', V9: 'Vacant Land - Miscellaneous', - + W1: 'Educational Structures - Public Elementary, Junior or Senior High', W2: 'Educational Structures - Parochial School, Yeshiva', W3: 'Educational Structures - School or Academy', @@ -252,23 +252,24 @@ const bldgclassLookup = { W7: 'Educational Structures - Theological Seminary', W8: 'Educational Structures - Other Private School', W9: 'Educational Structures - Miscellaneous', - - Y1: 'Selected Government Installations (Excluding Office Buildings, Training Schools, Academic, Garages, Warehouses, Piers, Air Fields, Vacant Land, Vacant Sites, and Land Under Water and Easements) - Fire Department', - Y2: 'Selected Government Installations (Excluding Office Buildings, Training Schools, Academic, Garages, Warehouses, Piers, Air Fields, Vacant Land, Vacant Sites, and Land Under Water and Easements) - Police Department', - Y3: 'Selected Government Installations (Excluding Office Buildings, Training Schools, Academic, Garages, Warehouses, Piers, Air Fields, Vacant Land, Vacant Sites, and Land Under Water and Easements) - Prison, Jail, House of Detention', - Y4: 'Selected Government Installations (Excluding Office Buildings, Training Schools, Academic, Garages, Warehouses, Piers, Air Fields, Vacant Land, Vacant Sites, and Land Under Water and Easements) - Military and Naval Installation', - Y5: 'Selected Government Installations (Excluding Office Buildings, Training Schools, Academic, Garages, Warehouses, Piers, Air Fields, Vacant Land, Vacant Sites, and Land Under Water and Easements) - Department of Real Estate', - Y6: 'Selected Government Installations (Excluding Office Buildings, Training Schools, Academic, Garages, Warehouses, Piers, Air Fields, Vacant Land, Vacant Sites, and Land Under Water and Easements) - Department of Sanitation', - Y7: 'Selected Government Installations (Excluding Office Buildings, Training Schools, Academic, Garages, Warehouses, Piers, Air Fields, Vacant Land, Vacant Sites, and Land Under Water and Easements) - Department of Ports and Terminals', - Y8: 'Selected Government Installations (Excluding Office Buildings, Training Schools, Academic, Garages, Warehouses, Piers, Air Fields, Vacant Land, Vacant Sites, and Land Under Water and Easements) - Department of Public Works', - Y9: 'Selected Government Installations (Excluding Office Buildings, Training Schools, Academic, Garages, Warehouses, Piers, Air Fields, Vacant Land, Vacant Sites, and Land Under Water and Easements) - Department of Environmental Protection', - + + Y1: 'Selected Government Installations - Fire Department', + Y2: 'Selected Government Installations - Police Department', + Y3: 'Selected Government Installations - Prison, Jail, House of Detention', + Y4: 'Selected Government Installations - Military and Naval Installation', + Y5: 'Selected Government Installations - Department of Real Estate', + Y6: 'Selected Government Installations - Department of Sanitation', + Y7: 'Selected Government Installations - Department of Ports and Terminals', + Y8: 'Selected Government Installations - Department of Public Works', + Y9: 'Selected Government Installations - Department of Environmental Protection', + Z0: 'Miscellaneous - Tennis Court, Pool, Shed, etc.', Z1: 'Miscellaneous - Court House', Z2: 'Miscellaneous - Public Parking Area', Z3: 'Miscellaneous - Post Office', Z4: 'Miscellaneous - Foreign Government', - Z5: 'Miscellaneous - United Nations', + Z5: 'Miscellaneous - Land Under Water', + Z6: 'Miscellaneous - United Nations', Z7: 'Miscellaneous - Easement', Z8: 'Miscellaneous - Cemetery', Z9: 'Miscellaneous - Other', diff --git a/package.json b/package.json index 781f9a3ce..fe5415d82 100644 --- a/package.json +++ b/package.json @@ -121,7 +121,7 @@ "sinon": "7.3.2" }, "engines": { - "node": ">= 10.*" + "node": ">= 12.*" }, "dependencies": { "@sentry/browser": "5.4.3", From 49e3f1dbdf0e65f2e56bfba20537039370974df2 Mon Sep 17 00:00:00 2001 From: Matt Gardner Date: Tue, 26 Oct 2021 12:17:11 -0500 Subject: [PATCH 2/2] Fix lint and typos in descriptions. --- app/models/map-features/lot.js | 60 +++++++++++++++++----------------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/app/models/map-features/lot.js b/app/models/map-features/lot.js index a69c54875..8957c7754 100644 --- a/app/models/map-features/lot.js +++ b/app/models/map-features/lot.js @@ -34,24 +34,24 @@ const bldgclassLookup = { A7: 'One Family Dwellings - Mansion Type or Town House', A8: 'One Family Dwellings - Bungalow Colony/Land Coop Owned', A9: 'One Family Dwellings - Miscellaneous', - + B1: 'Two Family Dwellings - Brick', B2: 'Two Family Dwellings - Frame', B3: 'Two Family Dwellings - Converted From One Family', B9: 'Two Family Dwellings - Miscellaneous', - + C0: 'Walk Up Apartments - Three Families', C1: 'Walk Up Apartments - Over Six Families Without Stores', C2: 'Walk Up Apartments - Five to Six Families', C3: 'Walk Up Apartments - Four Families', C4: 'Walk Up Apartments - Old Law Tenements', - C5: 'Walk Up Apartments - Converted Dwelling or ROoming House', + C5: 'Walk Up Apartments - Converted Dwelling or Rooming House', C6: 'Walk Up Apartments - Cooperative', C7: 'Walk Up Apartments - Over Six Families With Stores', C8: 'Walk Up Apartments - Co-Op Conversion From Loft/Warehouse', C9: 'Walk Up Apartments - Garden Apartments', CM: 'Walk Up Apartments - Mobile Homes/Trailer Parks', - + D0: 'Elevator Apartments - Co-Op Conversion from Loft/Warehouse', D1: 'Elevator Apartments - Semi-fireproof (Without Stores)', D2: 'Elevator Apartments - Artists in Residence', @@ -62,21 +62,21 @@ const bldgclassLookup = { D7: 'Elevator Apartments - Semi-fireproof (With Stores)', D8: 'Elevator Apartments - Luxury Type', D9: 'Elevator Apartments - Miscellaneous', - + E1: 'Warehouses - Fireproof', E2: 'Warehouses - Contractors Warehouse', E3: 'Warehouses - Semi-fireproof', E4: 'Warehouses - Frame, Metal', E7: 'Warehouses - Warehouse, Self Storage', E9: 'Warehouses - Miscellaneous', - + F1: 'Factory and Industrial Buildings - Heavy Manufacturing (Fireproof)', F2: 'Factory and Industrial Buildings - Special Construction (Fireproof)', F4: 'Factory and Industrial Buildings - Semi-fireproof', F5: 'Factory and Industrial Buildings - Light Manufacturing', F8: 'Factory and Industrial Buildings - Tank Farms', F9: 'Factory and Industrial Buildings - Miscellaneous', - + G0: 'Garages and Gasoline Stations - Residential Tax Class 1 Garage', G1: 'Garages and Gasoline Stations - All Parking Garages', G2: 'Garages and Gasoline Stations - Auto Body/Collision or Auto Repair', @@ -89,7 +89,7 @@ const bldgclassLookup = { G9: 'Garages and Gasoline Stations - Miscellaneous Garage or Gas Station', GU: 'Garages and Gasoline Stations - Car Sales/Rental without Showroom', GW: 'Garages and Gasoline Stations - Car Wash or Lubritorium Facility', - + H1: 'Hotels - Luxury Type', H2: 'Hotels - Full Service Hotel', H3: 'Hotels - Limited Service', @@ -103,16 +103,16 @@ const bldgclassLookup = { HH: 'Hotels - Hostel/Bed Rental in Dorm Like Setting', HR: 'Hotels - SRO', HS: 'Hotels - Extended Stay/Suite Amenities Similar to Apt.', - + I1: 'Hospitals and Health - Hospitals, Sanitariums, Mental Institutions', I2: 'Hospitals and Health - Infirmary', I3: 'Hospitals and Health - Dispensary', I4: 'Hospitals and Health - Staff Facilities', I5: 'Hospitals and Health - Health Center/Child Center/Clinic', I6: 'Hospitals and Health - Nursing Home', - I7: 'Hospitals and Health - Adut Care Facility', - I9: 'Hospitals and Health - Miscellaenous', - + I7: 'Hospitals and Health - Adult Care Facility', + I9: 'Hospitals and Health - Miscellaneous', + J1: 'Theatres - Art Type (under 400 capacity', J2: 'Theatres - Art Type (over 400 capacity', J3: 'Theatres - Motion Picture Theatre With Balcony', @@ -122,7 +122,7 @@ const bldgclassLookup = { J7: 'Theatres - Off-Broadway Theatre', J8: 'Theatres - Multiplex Picture Theatre', J9: 'Theatres - Miscellaneous', - + K1: 'Store Buildings - One Story Retail', K2: 'Store Buildings - Multi-Story Retail', K3: 'Store Buildings - Multi-Story Department Store', @@ -132,25 +132,25 @@ const bldgclassLookup = { K7: 'Store Buildings - Banking Facilities With or Without Parking', K8: 'Store Buildings - Big Box Retail Not Affixed & Standing on own Lot with Parking', K9: 'Store Buildings - Miscellaneous', - + L1: 'Loft Buildings - Over Eight Stories (Mid-Manhattan Type', L2: 'Loft Buildings - Fireproof and Storage Type (Without Stores)', L3: 'Loft Buildings - Semi-fireproof', L8: 'Loft Buildings - With Retail Stores Other Than Type 1', L9: 'Loft Buildings - Miscellaneous', - - M1: 'Churches, Synagogues, Etc - Churhc, Synagogue, Chapel', + + M1: 'Churches, Synagogues, Etc - Church, Synagogue, Chapel', M2: 'Churches, Synagogues, Etc - Mission Houses (Non-Residential)', M3: 'Churches, Synagogues, Etc - Parsonage, Rectory', M4: 'Churches, Synagogues, Etc - Convents', M9: 'Churches, Synagogues, Etc - Miscellaneous', - + N1: 'Asylums and Homes - Asylums', N2: 'Asylums and Homes - Homes for Indigent Children, Aged, and Homeless', N3: 'Asylums and Homes - Orphanages', N4: 'Asylums and Homes - Detention House for Wayward Girls', N9: 'Asylums and Homes - Miscellaneous', - + O1: 'Office Buildings - Office Only - 1 Story', O2: 'Office Buildings - Office Only - 2 to 6 Stories', O3: 'Office Buildings - Office Only - 7 to 19 Stories', @@ -160,7 +160,7 @@ const bldgclassLookup = { O7: 'Office Buildings - Professional Buildings/Stand Alone Funeral Homes', O8: 'Office Buildings - Office with Apartments Only (No Comm)', O9: 'Miscellaneous and Oly Style Bank Bldgs', - + P1: 'Places of Public Assembly (Indoor) and Cultural - Concert Halls', P2: 'Places of Public Assembly (Indoor) and Cultural - Lodge Rooms', P3: 'Places of Public Assembly (Indoor) and Cultural - YWCA, YMCA, YWHA, YMHA, PAL', @@ -169,8 +169,8 @@ const bldgclassLookup = { P6: 'Places of Public Assembly (Indoor) and Cultural - Amusement Place, Bathhouse, Boat House', P7: 'Places of Public Assembly (Indoor) and Cultural - Museum', P8: 'Places of Public Assembly (Indoor) and Cultural - Library', - P9: 'Places of Public Assembly (Indoor) and Cultural - Miscellaenous', - + P9: 'Places of Public Assembly (Indoor) and Cultural - Miscellaneous', + Q0: 'Outdoor Recreation Facilities - Open Space', Q1: 'Outdoor Recreation Facilities - Parks/Recreation Facilities', Q2: 'Outdoor Recreation Facilities - Playground', @@ -181,13 +181,13 @@ const bldgclassLookup = { Q7: 'Outdoor Recreation Facilities - Tennis Court', Q8: 'Outdoor Recreation Facilities - Marina, Yacht Club', Q9: 'Outdoor Recreation Facilities - Miscellaneous', - + R0: 'Condominiums - Condo Billing Lot', R1: 'Condominiums - Residential Unit in 2 to 10 Unit Building', R2: 'Condominiums - Residential Unit in Walk-Up Building', R3: 'Condominiums - Residential Unit in 1 to 3 Story Building', R4: 'Condominiums - Residential Unit in Elevator Buidling', - R5: 'Condominiums - Miscellaenous Commercial', + R5: 'Condominiums - Miscellaneous Commercial', R6: 'Condominiums - Residential Unit of 1 to 3 Unit Building-Orig Class 1', R7: 'Condominiums - Commercial Unit of 1 to 3 Unit Building-Orig Class 1', R8: 'Condominiums - Commercial Unit of 2 to 10 Unit Building', @@ -208,7 +208,7 @@ const bldgclassLookup = { RW: 'Condominiums - Warehouse/Factory/Industrial', RX: 'Condominiums - Mixed Residential, Commercial & Industrial', RZ: 'Condominiums - Mixed Residential & Warehouse', - + S0: 'Residence - Multiple Use - Primarily One Family with Two Stores or Offices', S1: 'Residence - Multiple Use - Primarily One Family with One Store or Office', S2: 'Residence - Multiple Use - Primarily Two Family with One Store or Office', @@ -216,11 +216,11 @@ const bldgclassLookup = { S4: 'Residence - Multiple Use - Primarily Four Family with One Store or Office', S5: 'Residence - Multiple Use - Primarily Five to Six Family with One Store or Office', S9: 'Residence - Multiple Use - Single or Multiple Dwelling with Stores or Offices', - + T1: 'Transportation Facilities - Airport, Air Field, Terminal', T2: 'Transportation Facilities - Pier, Dock, Bulkhead', T9: 'Miscellaneous', - + U0: 'Utility Bureau Properties - Utility Company Land and Building', U1: 'Utility Bureau Properties - Bridge, Tunnel, Highway', U2: 'Utility Bureau Properties - Gas or Electric Utility', @@ -231,7 +231,7 @@ const bldgclassLookup = { U7: 'Utility Bureau Properties - Transportation - Public Ownership', U8: 'Utility Bureau Properties - Revocable Consent', U9: 'Utility Bureau Properties - Miscellaneous', - + V0: 'Vacant Land - Zoned Residential; Not Manhattan', V1: 'Vacant Land - Zoned Commercial or Manhattan Residential', V2: 'Vacant Land - Zoned Commercial Adjacent to Class 1 Dwelling; Not Manhattan', @@ -242,7 +242,7 @@ const bldgclassLookup = { V7: 'Vacant Land - Port Authority of NY and NJ', V8: 'Vacant Land - New York State & U.S. Government', V9: 'Vacant Land - Miscellaneous', - + W1: 'Educational Structures - Public Elementary, Junior or Senior High', W2: 'Educational Structures - Parochial School, Yeshiva', W3: 'Educational Structures - School or Academy', @@ -252,7 +252,7 @@ const bldgclassLookup = { W7: 'Educational Structures - Theological Seminary', W8: 'Educational Structures - Other Private School', W9: 'Educational Structures - Miscellaneous', - + Y1: 'Selected Government Installations - Fire Department', Y2: 'Selected Government Installations - Police Department', Y3: 'Selected Government Installations - Prison, Jail, House of Detention', @@ -262,7 +262,7 @@ const bldgclassLookup = { Y7: 'Selected Government Installations - Department of Ports and Terminals', Y8: 'Selected Government Installations - Department of Public Works', Y9: 'Selected Government Installations - Department of Environmental Protection', - + Z0: 'Miscellaneous - Tennis Court, Pool, Shed, etc.', Z1: 'Miscellaneous - Court House', Z2: 'Miscellaneous - Public Parking Area',