|
POST
|
Put the below at the top of the script import arcpy
... View more
04-01-2016
11:42 AM
|
0
|
10
|
2287
|
|
POST
|
You may also want to check the spatial reference of your dataframe to make sure it's the same as the data you are trying to edit
... View more
03-31-2016
04:32 PM
|
0
|
0
|
1039
|
|
POST
|
Check your error message I'm not sure you can use PM in the date field try using a date from a select by attribute Get Unique Values test Date => '3/1/2016 3:33:02 PM'
... View more
03-31-2016
06:57 AM
|
1
|
0
|
2368
|
|
POST
|
Dates are tough to work with, i suggest you use select by attribute to see the format the date query is looking for.
... View more
03-30-2016
04:22 PM
|
1
|
0
|
2368
|
|
POST
|
Do you have a field that indicates primary address? You could use Using label classes to label features from the same layer differently—Help | ArcGIS for Desktop
... View more
03-29-2016
01:43 PM
|
0
|
0
|
445
|
|
POST
|
Not sure if this will work with version data, but you may be better off doing a join and select those records that have changed. Workflow: Add Join for field in fields (on target) select <> to see if attributes don't match calculate field next field repeat steps 3,4
... View more
03-25-2016
08:59 AM
|
0
|
0
|
471
|
|
POST
|
You may also want to consider the number of records your dealing with. I would try creating a copy (for backup) and let it run for a while.
... View more
03-24-2016
01:27 PM
|
0
|
0
|
1906
|
|
POST
|
You could use Calculate Value—Help | ArcGIS for Desktop to return the value to the field calculator
... View more
03-24-2016
11:36 AM
|
1
|
0
|
3266
|
|
POST
|
Add your field or create a copy and add a field then make your model similar to the one below.
... View more
03-23-2016
09:51 AM
|
0
|
1
|
2056
|
|
POST
|
The 2 were never linked. The parcel data is controlled by others. I don't want to high jack Kate's thread, which is why i asked if there was some examples.
... View more
03-23-2016
09:35 AM
|
0
|
0
|
1515
|
|
POST
|
No, because John Brown and John A Brown are the same person, but seen as different by the dissolve tool.
... View more
03-23-2016
09:00 AM
|
0
|
4
|
1515
|
|
POST
|
You could set up a model that does: Spatial join joins the spatial join with the tables Select the addresses that are <> You could then field calculate verified or field calculate the addresses remove the table join or do your spatial join in model builder and export to python and use the resulting field as an input to the following script. The script prints the oids of the non matching of both feature classes you could easily modify to get what you need #Script to compare 2 feature classes
#Author Wes Miller
import arcpy
import numpy as np
import datetime
#Print start time and date
dt = datetime.datetime.now()
print dt
#The Feature Class to Check
originFC = arcpy.GetParameterAsText(0)
#The feature class with updates needed for feature class above
changeFC = arcpy.GetParameterAsText(1)
origDesc = arcpy.Describe(originFC)
oidName = origDesc.oidFieldName
field_names = arcpy.GetParameterAsText(2)#Example: "Shape","TMS","OWNERNAME","TOTBDGVAL","DISTRICT","ADD1","ADD2","ADD3","MAP","BLOCK","PARCEL","CALCULATED_ACREAGE","ADDR_SITE"
originFCarr = arcpy.da.FeatureClassToNumPyArray(originFC,(field_names),null_value=-9999)
originFCarrID = arcpy.da.FeatureClassToNumPyArray(originFC,(oidName))
changeFCarr = arcpy.da.FeatureClassToNumPyArray(changeFC,(field_names),null_value=-9999)
changeFCarrID = arcpy.da.FeatureClassToNumPyArray(changeFC,(oidName))
print "Arrays Complete"
count = 0
deletesarr = np.where(np.invert(np.in1d(originFCarr,changeFCarr)))
addsarr = np.where(np.invert(np.in1d(changeFCarr,originFCarr)))
adds = []
for each in addsarr[0]:
adds.append(changeFCarrID[each][0])
deletes = []
for each in deletesarr[0]:
deletes.append(originFCarrID[each][0])
#Current Outputs are printed here for testing purposes
print adds
print
print deletes
ndt = datetime.datetime.now()
print ndt
... View more
03-23-2016
08:11 AM
|
2
|
3
|
2056
|
|
POST
|
Do you have some examples? I tried to do something similar to this a few years ago with owners owning adjacent parcels. The owner data would not support an accurate report because of the many various naming of owners and adjacent relatives owning properties. Examples would be John Brown who also owned an adjacent parcel listed as John A Brown and his cousin James Brown owned another adjacent parcel.
... View more
03-23-2016
06:54 AM
|
0
|
6
|
1515
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 09-14-2015 01:29 PM | |
| 1 | 01-26-2016 10:18 AM | |
| 1 | 08-18-2015 06:01 AM | |
| 1 | 06-20-2016 12:34 PM | |
| 1 | 01-19-2016 06:13 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:23 AM
|