I am also trying to use tigerline/shapefiles instead of hitting the https://tigerweb.geo.census.gov/arcgis/rest/services/TIGERweb/Tracts_Blocks/MapServer/2 for every latitude longitude.
My understanding is that the shapefile holds all the block,latitude and longitude information which i can download to my local server and do the query feature. I downloaded ohio 2020 block shape file from https://www.census.gov/geographies/mapping-files/time-series/geo/tiger-line-file.html to explore programmatically.
- As per the esri guide, shapefiles have to be uploaded to esri cloud and published as services. Can't I query the shapefile directly in my code which i downloaded ( .shp file). So what is the difference in using the shapefile and ../TIGERweb/Tracts_Blocks/MapServer/2 service?
Could you please advice me to proceed further? Any sample code would be much appreciated.