|
POST
|
In ArcMap you can go to 'Customize', Style Manager, select the symbols/text/etc. that you want to keep, copy and paste them into a new/existing style. Then you can import that single style file in Pro. R_
... View more
03-19-2024
09:10 AM
|
4
|
0
|
3584
|
|
POST
|
Is this a Hosted Feature Service? I am doing something similar, (updating certain columns in a Hosted Feature Service from python dictionary) using the python API .calculate function. Since hosted on AGOL, it will often (more often than not) fail to finish, time out with error. So, in my python script, I make a list of all the unique id's that I want to update, then as I go through the dictionary updating my columns, I append the successful id's to that list. Then, I call the function(s) like so: def CreateSignDict():
# search cursor to populate my dictionary
def UpdateSigns():
#get variable/datasets/workspaces
if mc not in donelist:
#do my updates
donelist.append(mc) # add successful id's to the done list
try:
CreateSignDict()
while True:
try:
UpdateSigns()
break # stop the loop if the function completes sucessfully
except Exception as e:
print("Function errored out!", e)
print("Retrying ... ")
print("Done with inner try") This will keep running the UpdateSigns() function until all the values have been updated. Not sure you can incorporate this into your setup or UpdateCursor, but has been working for me for a few years now. R_
... View more
03-14-2024
02:33 PM
|
0
|
1
|
2881
|
|
POST
|
One way to remove that last comma: return Left(output, Count(output)-2) R_
... View more
03-12-2024
02:39 PM
|
1
|
0
|
5570
|
|
POST
|
Do you want to populate the Popup title or the (attribute) list title with the MUTCD code? R_
... View more
03-12-2024
10:13 AM
|
0
|
1
|
3972
|
|
POST
|
Will be a sad day when good old ArcCatalog goes away.....
... View more
03-08-2024
11:05 AM
|
0
|
0
|
1252
|
|
POST
|
So, what are you trying to split? If each feature has a road class attribute, can't you just select by attributes, then Export Features (using the selected features) to new featureclass? Or, if you need All road classes, looks like the Split by Attribute as @DanPatterson suggested does the same thing, but all of them at once R_
... View more
03-08-2024
09:53 AM
|
1
|
1
|
2658
|
|
POST
|
I installed Pro on the server machine, logged onto the server machine with the service account, logged into Pro with appropriate user, and select the Sign in automatically option. This stores the credential so that it automatically logs me in with the last used credentials. The scheduled tasks will then also use this last logged in credentials to run the python script(s). However, there is a time out on this, I believe it is two weeks. So, if it's been too long since the appropriate user has logged onto Pro manually (or if a different user has logged on in between), it will fail. (So, we don't allow 'other' users to run Pro on the server machine) My workaround for this is to run a scheduled task every week that opens Pro, pauses a few seconds, then closes Pro. This keeps the credentials up to date and keeps my scheduled tasks running. R_
... View more
03-08-2024
08:39 AM
|
1
|
6
|
4855
|
|
POST
|
Would have to test on copy first, but I believe if you run a Snap on the valves and fittings (to the lines) with real small tolerance, it should move them over so that the Split By Feature tool would think so. Unless, of course, the snap tool has issues with XY tolerance as well. R_
... View more
03-08-2024
08:04 AM
|
1
|
0
|
2118
|
|
POST
|
With Pro 3.1.3 GP Tool: In Model: Statistics fields show as well (in both): Same dataset, same options. In the Model, I selected the folder and browsed to the feature class directly. Any chance you are feeding it the results from a previous step in the model that is stripping off any text fields? In your pics, I don't see any of the 'Sum' fields in the GP tool example. R_
... View more
03-08-2024
07:55 AM
|
1
|
2
|
2069
|
|
POST
|
that code doesn't rely on any common field/IDs. It just intersects the beginning and end point of the line with the points (MH's) and transfers the MHID and ELEV values (you can just drop the elevation part) from the point to the respective end of the line. This code is for an attribute rule to do exactly what you requested in the original post. You should be able to modify it to iterate through all the lines in calculate field tool. R_
... View more
03-05-2024
08:17 AM
|
0
|
1
|
3675
|
|
POST
|
It looks like this post shows how to do that with Arcade. Is for an attribute rule, but shows the syntax that could be modified run in field calculator (or use as a rule 🙂 R_
... View more
03-05-2024
07:46 AM
|
2
|
0
|
2520
|
|
POST
|
To add a little more, my data has separate featureclass for mahnoles or cleanouts on the sewer, and manholes, cleanouts, inlets, outlets, discharge, etc. on the storm. So, to make the script easier so I only have to intersect with one layer, I run an append operation that copies over ALL the respective point features to a single temporary featureclass with the feature ID. R_
... View more
03-05-2024
07:28 AM
|
2
|
1
|
2521
|
|
POST
|
is the csv data in a different coordinate system than ESRI's web mercator? If so, often the map will zoom somewhere in limbo and you need to zoom to the layer in the TOC. Even if your basemap and data are the same, if it is NOT the ESRI default, it almost always zooms me to nowhereland when I add data. R_
... View more
03-04-2024
03:25 PM
|
0
|
0
|
3422
|
|
POST
|
Where are you seeing these 'old' codes? If I hit the plus button to collect new data, it opens has me select what feature I want to add, but I don't see any of the domain codes until I try to populate a field. Are these default values in the template? Snapshot would be helpfull if you still have not figured this out. R_
... View more
03-04-2024
01:12 PM
|
0
|
2
|
3594
|
|
POST
|
Do you have attribute rules enabled? there is an 'issue' with Pro when packaging, if there are rules that rely on a FC/table, that FC/table will be copied multiple times (once for each rule that accesses it) into the project package. Not sure with copies of entire gdb is included, unless maybe the att rules are referencing multiple GDBs. Don't know if it is related to this, but JIC, thought I'd mention it. R_
... View more
03-04-2024
12:42 PM
|
0
|
0
|
897
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-14-2026 04:00 PM | |
| 1 | 09-14-2022 07:53 AM | |
| 1 | 09-14-2022 08:23 AM | |
| 1 | 05-21-2026 08:53 AM | |
| 1 | 05-14-2026 04:28 PM |
| Online Status |
Online
|
| Date Last Visited |
Monday
|