File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -90,8 +90,8 @@ async function fetchACS(state, counties) {
9090}
9191
9292async function fetchTractGeoms ( state , counties ) {
93- // TIGERweb's tract layer (id 3) supports filtering and GeoJSON output.
94- // We page through 1,000 features at a time .
93+ // Layer 0 is the current "Census Tracts" boundary layer. Layers 3/6
94+ // exist but are ACS-annotated subsets with different fields .
9595 const out = [ ] ;
9696 for ( const county of counties ) {
9797 let offset = 0 ;
@@ -103,7 +103,7 @@ async function fetchTractGeoms(state, counties) {
103103 resultRecordCount : "1000" ,
104104 resultOffset : String ( offset ) ,
105105 } ) ;
106- const url = `https://tigerweb.geo.census.gov/arcgis/rest/services/TIGERweb/Tracts_Blocks/MapServer/3 /query?${ params } ` ;
106+ const url = `https://tigerweb.geo.census.gov/arcgis/rest/services/TIGERweb/Tracts_Blocks/MapServer/0 /query?${ params } ` ;
107107 const resp = await fetch ( url ) ;
108108 if ( ! resp . ok )
109109 throw new Error ( `TIGERweb ${ state } /${ county } : ${ resp . status } ${ resp . statusText } ` ) ;
You can’t perform that action at this time.
0 commit comments