POST
|
Code block, python parser. Expression : match(!SiteAddress!, !PostalAddress!) def match(fld0, fld1, chars=5):
"""match first `chars` in two fields"""
if fld0[:chars] == fld1[:chars]:
return 1
return 0
... View more
11-29-2022
01:57 PM
|
0
|
1
|
631
|
DOC
|
before people start asking... what about the clones? any changes/impacts to arcpy/arcgisscripting and the arcgis module?
... View more
11-29-2022
01:47 PM
|
0
|
0
|
9897
|
POST
|
does your script tool have the featureclass/layer as a parameter and you select the field to delete? or is it a parameter-less script? If it is the latter, try adding the required parameters and see if it succeeds. I would expect it to work flawlessly if running from the python window within Pro since it is "aware" of its surrounds and a parameterless tool may not be.
... View more
11-29-2022
01:39 PM
|
1
|
1
|
749
|
POST
|
could you show a record or two. You could make it easier if you produced a similar field with the concatenation done in the field calculator. You could compare those fields easily. Assuming python and your fields are names as you suggest, and commas separate the values in the comparison field, r"{}, {}, {} {}".format(!Address!, !City!, !State!, !Zip!)
... View more
11-29-2022
01:34 PM
|
0
|
3
|
636
|
POST
|
Do you have Pro running with the layer when using your standalone script? Perhaps follow the reboot suggestion in the error's help 002557: Cannot delete field <value> from <value>.—ArcGIS Pro | Documentation
... View more
11-29-2022
11:57 AM
|
0
|
5
|
768
|
POST
|
Install ArcGIS Pro silently—ArcGIS Pro | Documentation Check under ADDLOCAL
... View more
11-29-2022
03:27 AM
|
1
|
0
|
768
|
POST
|
Are you using Add Spatial Join (Data Management)—ArcGIS Pro | Documentation which supports one-to-one or Spatial Join (Analysis)—ArcGIS Pro | Documentation which supports one-to-many
... View more
11-29-2022
02:27 AM
|
0
|
1
|
463
|
IDEA
|
Perhaps use this to catch other errors as well before attempting a join. Validate Join (Data Management)—ArcGIS Pro | Documentation
... View more
11-28-2022
02:06 PM
|
0
|
0
|
554
|
IDEA
|
Partial solution is to use... Pairwise Buffer (Analysis)—ArcGIS Pro | Documentation The output feature class will include a ORIG_FID field that contains the feature ID of the input feature for which the buffer was created. If a field named ORIG_FID exists in the input, its values will be overwritten in the output. If a Dissolve Type value of All or List is used, the output will not include this field.
... View more
11-27-2022
03:57 PM
|
0
|
0
|
347
|
POST
|
Apply Symbology From Layer (Data Management)—ArcGIS Pro | Documentation but that means you need to have used Save To Layer File (Data Management)—ArcGIS Pro | Documentation first for layers with critical symbology. Closing Pro with saving changes will 'reset' when restarted, but that is only useful for inadvertent and/or unretractable mishaps.
... View more
11-27-2022
03:52 PM
|
0
|
0
|
577
|
POST
|
There is no "reset". Terminology differences perhaps "wetland" vs "swamp" The safest is to "save as layer" file for critical symbology, to keep a record of the original
... View more
11-27-2022
02:47 AM
|
0
|
1
|
1019
|
POST
|
Are you using the Maplex labelling engine? Specify a line label position—ArcGIS Pro | Documentation Label with the Maplex Label Engine—ArcGIS Pro | Documentation
... View more
11-26-2022
01:23 PM
|
1
|
0
|
914
|
POST
|
Con (Spatial Analyst)—ArcGIS Pro | Documentation Con(Raster("slope") < 5, 1, 0) Will give you the areas where slope is < 5 If you want to differentiate them you could look into RegionGroup or perhaps convert to vector, then use the MultiPartToSinglePart tool to get individual areas. A Spatial Join can associate the areas to the points.
... View more
11-26-2022
11:19 AM
|
1
|
0
|
547
|
Title | Kudos | Posted |
---|---|---|
2 | 11 hours ago | |
1 | 11-21-2023 08:38 AM | |
1 | a month ago | |
1 | Saturday | |
1 | Tuesday |
Online Status |
Offline
|
Date Last Visited |
3 hours ago
|