POST
|
Don't understand at all. Definitely needs some visuals.
... View more
01-27-2024
10:41 AM
|
0
|
0
|
1294
|
POST
|
If these are domains, are you referring to the the code? I'm not sure if you can refer to the domain description. Go to the data data of your fea ture layer, then 'fields' tab and select your field. You should then be able to see the domain codes and descriptions if you open up the domain editing option. If this is the case then possibly just try to use the domain code e.g. $feature.approver_determination == 1234 or use DomainName() function https://developers.arcgis.com/arcade/function-reference/feature_functions/#domainname : DomainName($feature, 'approver_determination') == 'unfeasible'
... View more
01-27-2024
10:33 AM
|
1
|
3
|
663
|
IDEA
|
Nice idea. I'd just throw my 2 pence in and say that closing ideas off (even with the best of intentions to pick them back up) could cause some ideas to drop of the radar. Is there perhaps a better status to put these into?
... View more
01-26-2024
11:38 AM
|
0
|
0
|
1097
|
POST
|
From the man who taught me my first Python with arcpy. Thanks @EdMorris
... View more
01-26-2024
11:14 AM
|
0
|
0
|
779
|
POST
|
https://pro.arcgis.com/en/pro-app/latest/tool-reference/analysis/near.htm might be preferable for posterity so you can refer back to a distance for each record. If the distance criteria changes you can just select by attribute (distance) instead. Of course you need to geocode you table first. that's most of the battle.
... View more
01-25-2024
10:29 AM
|
1
|
0
|
445
|
POST
|
You can add a Calculate Field model builder tool which has a Python script to calculate the date and output as a string. You'd then use the output (I think defaults to 'Value') in an inline variable substitution for the output filename for whatever tool. https://pro.arcgis.com/en/pro-app/latest/tool-reference/modelbuilder-toolbox/calculate-value.htm Python script (not in codeblock, just in the expression box. Data Type=String. datetime.datetime.now().strftime("%Y_%m_%d") That should then have an output called 'Value' (you can rename this of-course) Then when you write the output filename in another tool: %Value%_myFilename.extension goes to -> 2024_01_25_myFilename.extension
... View more
01-25-2024
10:22 AM
|
1
|
1
|
828
|
POST
|
Do you have domains for that required question/field? Maybe some mismatch of those between their app and the hosted feature layer (thus values being rejected)?
... View more
01-24-2024
12:36 PM
|
0
|
0
|
633
|
POST
|
I'm not sure I entirely understand your picture provided, but it looks like you have a gap after that initial T-junction. The polygon looks like a buffer of that roadline which stops just after the junction. I know you've said you don't but, try to run a route analysis to make sure if you haven't done so already. Also check the Polygon Detail level in your analysis options and possibly increase it to High Precision for troubleshooting purposes.
... View more
01-24-2024
12:26 PM
|
0
|
0
|
329
|
POST
|
https://pro.arcgis.com/en/pro-app/3.1/help/sharing/overview/save-a-layer-file.htm https://pro.arcgis.com/en/pro-app/3.1/help/projects/connect-to-a-style.htm
... View more
01-24-2024
12:16 PM
|
0
|
0
|
278
|
POST
|
Are you republishing with any schema changes when source is in use?
... View more
01-24-2024
12:11 PM
|
0
|
0
|
1054
|
POST
|
https://pro.arcgis.com/en/pro-app/latest/tool-reference/analysis/intersect.htm or select by location to if you need the entire features which intersect, touch etc. (numerous spatial relationships / overlap_type listed in the below help). https://pro.arcgis.com/en/pro-app/3.1/tool-reference/data-management/select-layer-by-location.htm Then export the selected features. https://support.esri.com/en-us/knowledge-base/how-to-export-selected-features-from-a-feature-layer-in-000025141 or right-click data->export.
... View more
01-24-2024
12:08 PM
|
1
|
0
|
255
|
POST
|
By its nature it references another MD so it wouldn't make sense. You could simply set a SQL query on your referenced MD to exclude/include specific rasters, or by attributes in the MD raster attribute table.
... View more
01-22-2024
11:44 AM
|
2
|
1
|
553
|
POST
|
Not sure, but worth a try (python API is always trial and error for me): # variables for layers
streets = gis.content.get("63e410a1a67044e79642f5a4c13a1873")
vehicles = gis.content.get("310e43debfb74081904820174814a58b")
#access layers
# assuming it's the first layer
streets_layer = streets.layers[0]
vehicles_layer = vehicles.layers[0]
# select by location / intersect on plow routes
print("Selecting snow routes...")
int_layer = arcpy.management.SelectLayerByLocation(streets_layer, "INTERSECT", vehicles_layer, selection_type="NEW_SELECTION")
theCount = arcpy.management.GetCount(int_layer)
print(f"{theCount} features selected")
... View more
01-18-2024
12:19 PM
|
0
|
0
|
313
|
POST
|
have not looked that the rest of your code or code logic is correct, but at a glance possibly: for fc in fcsLi:
inField = "NRHP_Type"
expression = "getNRHPType(os.path.basename(fc))"
arcpy.CalculateField_management(fc, inField, "'"+expression+"'", "PYTHON", codeblock)
print(fc+" completed")
... View more
01-17-2024
12:51 PM
|
0
|
1
|
772
|
Title | Kudos | Posted |
---|---|---|
1 | 05-21-2024 12:43 PM | |
1 | 02-06-2021 09:35 AM | |
1 | 05-19-2021 01:44 PM | |
1 | 02-22-2024 12:10 PM | |
1 | 02-16-2024 11:52 AM |
Online Status |
Offline
|
Date Last Visited |
07-02-2024
01:56 PM
|