|
POST
|
Adding to what Dan has posted, the transformation used may also differ.
... View more
05-02-2023
12:20 PM
|
0
|
0
|
1184
|
|
POST
|
What you want is an attribute rule https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/overview/an-overview-of-attribute-rules.htm Unfortunately.. I believe the data must be Web Mercator or WGS84 for the Arcade method required https://developers.arcgis.com/arcade/function-reference/geometry_functions/#areageodetic
... View more
05-02-2023
12:18 PM
|
0
|
0
|
838
|
|
POST
|
I would definitely take the installer out of your OneDrive location and retry.
... View more
04-30-2023
11:47 AM
|
1
|
0
|
11940
|
|
POST
|
Hi, ArcGIS Pro 2.8.1, Python either in notebook or IDLE. I'm trying to create simple tool to list layer properties of any given aprx/mapx. I'm happy enough with retrieving the basic layer properties needed, however I can't seem to find a way of accessing unique symbol scale settings. https://pro.arcgis.com/en/pro-app/latest/help/mapping/layer-properties/scale-based-symbol-classes.htm I've had a look at the unique value renderer Class but can't see anything jumping out at me. Also thinking of complications where scale-based symbology is set up.. Any ideas much appreciated. #simple script to get layer scale
import arcpy
aprx = arcpy.mp.ArcGISProject("CURRENT")
m = aprx.listMaps()[0]
for lyr in m.listLayers():
if lyr.supports("dataSource"):
print(lyr.name, lyr.minThreshold, lyr.maxThreshold)
... View more
04-28-2023
08:03 AM
|
0
|
2
|
2014
|
|
POST
|
https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/pivot-table.htm
... View more
04-26-2023
11:44 AM
|
0
|
1
|
820
|
|
POST
|
Sounds like you created pyramids for that giant raster.
... View more
04-26-2023
09:26 AM
|
0
|
0
|
1228
|
|
POST
|
A good starter here - https://developers.arcgis.com/python/api-reference/arcgis.mapping.toc.html https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-list-which-feature-layers-are-being-used-by/td-p/870380 Personally I'd create a set of all features found, then create a dictionary of features (key) to webmaps (value [list]) will involve some tweaking if you have sublayers etc.
... View more
04-25-2023
11:10 AM
|
1
|
0
|
1132
|
|
POST
|
It's a bit of a workaround but you could spatial join the layer to itself and use the JOIN_COUNT >= 1 to identify the colocated points.
... View more
04-25-2023
09:22 AM
|
0
|
0
|
8769
|
|
POST
|
Have you tried the "memory" example? You're currently writing to your desktop/user data folder, there could be organisational or personal setup restrictions on executables writing to this location so I'd also try a folder within a drive e.g. C:\Testing\Testing.gdb I'd also always try the script on a very small subset of data initially.
... View more
04-22-2023
10:31 AM
|
0
|
1
|
5162
|
|
POST
|
import arcpy
in_table = "fc"
field_names = ["rec", "mark?"]
with arcpy.da.UpdateCursor(in_table, field_names) as cursor:
for row in cursor:
try:
if (row[0])[8].isnumeric():
row[1] = 'Not OK'
else :
row[1] = 'OK'
except:
row[1] = 'Some error'
cursor.updateRow(row)
... View more
04-21-2023
03:09 PM
|
0
|
1
|
1997
|
|
POST
|
Using Field Calculator in the attribute table https://pro.arcgis.com/en/pro-app/latest/help/data/tables/fundamentals-of-field-calculations.htm or GP tool https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/calculate-field.htm Calculate into the new field you've created for this i.e. 'mark'. Expression type = Python 3 enter this in the box below "=" digitron(!tableName.rec or whatever your field is called - double click on the fields window to auto add the field!) enter this in the 'Code Block' window: def digitron(rec):
try:
if rec[8].isnumeric():
return 'Not OK'
else:
return 'OK'
except:
return 'Some error' validate then apply
... View more
04-21-2023
12:51 PM
|
2
|
3
|
2023
|
|
POST
|
looks ok, I'd prefer to use raw formatting on the path r'E:\Stuff.gdb\thing' so maybe try that. Space in GDB names - probably not recommended import env - what for? Is this part of a longer script? There must be more going on here.
... View more
04-21-2023
09:05 AM
|
0
|
0
|
1861
|
|
POST
|
I think you could fairly quickly manually adjust the datetimes by finding out the BST period for each year, selecting those affected records and take an hour off using field calculator on those selected records DateAdd(yourDateField, -1, 'hours');
... View more
04-21-2023
08:27 AM
|
0
|
0
|
3196
|
|
POST
|
You can do this on the fly using Arcade in a popup https://community.esri.com/t5/arcgis-online-blog/overlapping-features-in-pop-ups-quick-introduction/ba-p/890862
... View more
04-21-2023
08:17 AM
|
0
|
0
|
977
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 03-17-2023 12:44 PM | |
| 1 | 06-13-2025 01:08 PM | |
| 1 | 09-25-2025 03:19 PM | |
| 1 | 09-24-2025 02:35 PM | |
| 1 | 09-17-2025 02:42 PM |
| Online Status |
Offline
|
| Date Last Visited |
07-06-2026
06:42 AM
|