[object Object]

← back to Nationalrealestate

auto-save: 2026-07-30T19:50:45 (2 files) — src/ingest/parcels/arcgis_sales.ts src/jobs/hourly_loop.ts

a77a6878afd0767ad2f36ba3dd2df5321a170895 · 2026-07-30 19:50:46 -0700 · Steve Abrams

Files touched

Diff

commit a77a6878afd0767ad2f36ba3dd2df5321a170895
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Thu Jul 30 19:50:46 2026 -0700

    auto-save: 2026-07-30T19:50:45 (2 files) — src/ingest/parcels/arcgis_sales.ts src/jobs/hourly_loop.ts
---
 src/ingest/parcels/arcgis_sales.ts | 2 +-
 src/jobs/hourly_loop.ts            | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/ingest/parcels/arcgis_sales.ts b/src/ingest/parcels/arcgis_sales.ts
index 783e7b3..c5782c0 100644
--- a/src/ingest/parcels/arcgis_sales.ts
+++ b/src/ingest/parcels/arcgis_sales.ts
@@ -201,7 +201,7 @@ const SOURCES: Record<string, Source> = {
   'la-county': {
     // Los Angeles County — the largest US county (~2.43M parcels), West Coast.
     // Assessor roll layer: no per-parcel sale price, but rich value + characteristics.
-    key: 'la-county', label: 'Los Angeles County CA (Assessor parcels)', cursorKey: 'la_county', geometry: false, orderBy: 'OBJECTID', pageSize: 2000,
+    key: 'la-county', label: 'Los Angeles County CA (Assessor parcels)', cursorKey: 'la_county', geometry: false, orderBy: 'OBJECTID', pageSize: 1000, // server maxRecordCount=1000; pageSize>that broke the loop after 1 page
     layer: 'https://public.gis.lacounty.gov/public/rest/services/LACounty_Cache/LACounty_Parcel/MapServer/0',
     where: 'Roll_LandValue>0',
     outFields: 'APN,SitusFullAddress,SitusCity,SitusZIP,UseDescription,YearBuilt1,Bedrooms1,Bathrooms1,SQFTmain1,Roll_LandValue,Roll_ImpValue',
diff --git a/src/jobs/hourly_loop.ts b/src/jobs/hourly_loop.ts
index a37701b..8552af3 100644
--- a/src/jobs/hourly_loop.ts
+++ b/src/jobs/hourly_loop.ts
@@ -66,6 +66,8 @@ const JOBS: Job[] = [
   { name: 'deeds-sonoma',script:'src/ingest/parcels/engine.ts',     args: ['sonoma'],      minIntervalHours: 3, runSources: ['sonoma'] },
   { name: 'deeds-co',   script: 'src/ingest/parcels/engine.ts',     args: ['colorado'],    minIntervalHours: 2, runSources: ['colorado'] },
   { name: 'deeds-maricopa',script:'src/ingest/parcels/engine.ts',   args: ['maricopa'],    minIntervalHours: 2, runSources: ['maricopa'] },
+  // West Coast first — LA County (2.37M parcels), paginates a page/run like the deed jobs.
+  { name: 'parcels-la',   script: 'src/ingest/parcels/engine.ts',   args: ['la-county'],   minIntervalHours: 1, runSources: ['la-county'] },
   { name: 'deeds-thur', script: 'src/ingest/parcels/engine.ts',     args: ['thurston'],    minIntervalHours: 4, runSources: ['thurston'] },
   { name: 'deeds-pb',   script: 'src/ingest/parcels/engine.ts',     args: ['palm-beach'],  minIntervalHours: 4, runSources: ['palm_beach'] },
   { name: 'deeds-klam', script: 'src/ingest/parcels/engine.ts',     args: ['klamath'],     minIntervalHours: 4, runSources: ['klamath'] },

← a5c9eb5 Add LA County CA parcel source (arcgis_sales la-county, 2.37  ·  back to Nationalrealestate  ·  Add live ArcGIS commercial ETL (arcgis_commercial la-arcgis) 0b13660 →