This script was set up to use the El Dorado County Feature Extraction geoprocessing service. A web app of this can be found here. This script bypasses the web app and goes directly to the GP service.
-
Query El Dorado Parcel REST endpoint to get latest date in
POLY_CREATE_DATE
field. -
Compare that to the latest date in the local
SDE
orFGDB
FC:If both dates are the same, script ends.
If El Dorado County's date is newer, script continues to run.
-
Aquires
FGDB
of all parcels in the county, converts toin_memory
layer, and adds ownership fields. -
Regex comprehension begins and takes ownership information and seperates it our into
owner
,address
,city
,state
,zip
, andcountry
fields. -
Truncates the
SDE
orFGDB
FC, then appends new data. -
Profit!