POST
|
Lulz. Not an option! I have a bunch of feature layers to iterate through and give unique IDs to. With the Enterprise geodatabase, this happens OFTEN with scripts - my coworker suspects that it's failing because it's wanting to know WHICH version to edit. Built in tools never seem to have this issue.
... View more
11-15-2018
11:18 AM
|
0
|
3
|
1170
|
POST
|
Ok, interesting! So I took the same layer and threw it into the toolbox from your zip file. This is a layer in an Enterprise Geodatabase that I have full editing privileges to. It said that it failed because it didn't want to work outside of an edit session (I'm working in ArcGIS Pro 2.2.4)... so I exported out the feature layer to the project geodatabase and ran the tool and it worked fine. Hmmm.
... View more
11-15-2018
11:05 AM
|
0
|
5
|
4325
|
POST
|
Yes! Exactly. I keep trying to run this - even trying different tables - and it is giving me the above error.
... View more
11-15-2018
10:16 AM
|
0
|
0
|
4325
|
POST
|
Hey Dan, So I'm circling back around to this item. I've got table tools and I ran Text Fields and keep getting this error: Traceback (most recent call last): File "c:\program files\arcgis\pro\Resources\ArcToolbox\toolboxes\Scripts\sequential_funcs_txt.py", line 199, in <module> in_tbl, in_arr, in_fld, out_fld, del_fld, func, xtend = _tool() File "c:\program files\arcgis\pro\Resources\ArcToolbox\toolboxes\Scripts\sequential_funcs_txt.py", line 185, in _tool in_arr = tbl_2_np_array(in_tbl, flds) NameError: name 'tbl_2_np_array' is not defined Failed to execute (TxtFieldCalculations).
... View more
11-15-2018
09:16 AM
|
0
|
2
|
4325
|
POST
|
Hey Kory - Sorry for the late reply! I'm afraid I may not longer be helpful because it mysteriously began working. What I experienced was the above, but then I started trying another way and it would then mysteriously show the fields populated as they should have been if the above had not "failed"... i.e. it was showing that it failed, my field values remained null, I'd run another process and suddenly they would show up like the original process had run properly. I HAVE NO IDEA WHAT HAPPENED! My TSP_UID field that I was trying to populate is Text, Length 8. I was trying to populate from a joined excel spreadsheet.
... View more
11-15-2018
09:10 AM
|
0
|
0
|
1067
|
POST
|
I'm working in ArcGIS Pro 2.2 and I have a feature class from a geodatabase called "Seating." There is an empty field called "TSP_UID." I have joined another table from my local drive to this table. Next, I wanted to calculate the seating.TSP_UID from the joinedtable.TSP_UID. In ArcGIS Pro - calculate field fails and gives me a 999999 error. In ArcMap - it says calculate field is successful, but it doesn't actually alter any of the attributes. Here's the python snippet from ArcMap: # Replace a layer/table view name with a path to a dataset (which can be a layer file) or create the layer/table view within the script
# The following inputs are layers or table views: "TDEC_GIS_TSP.Seating"
arcpy.CalculateField_management(in_table="TDEC_GIS_TSP.Seating", field="TDEC_GIS_TSP.Seating.TSP_UID", expression="(!TDEC_GIS_TSP_JoinedTable.TSP_UID!)", expression_type="PYTHON", code_block="") UPDATE: So I closed everything out and opened ArcGIS Pro back up and MAGICALLY the field in question was suddenly populated?! So - now this is even more annoying because I can't figure out when this occurred or why it finally worked, and I've got a handful of other feature classes to do this with. Yayyyyyy. ESRI MAGIC.
... View more
10-31-2018
10:04 AM
|
0
|
2
|
1517
|
POST
|
I have a layer with two fields: "SafetyIssue" and "Status" Safety issue can be either "yes" or "no". Status can be either "pending" or "completed". I want to derive the symbology based on attributes from these two fields. If a Status is "Pending", then I want it to be displayed by SafetyIssue ("yes" or "no"). If Status is "Completed" then I want it to show a symbol that reflects that. I'm pretty sure I have to write an expression to do this, but then I'm at a loss as for what I actually DO with the expression! So - what expression do I write, and then what in the world do I do with it? Or are all my assumptions wrong?! Help, please!
... View more
07-31-2018
02:12 PM
|
3
|
4
|
15236
|
POST
|
Alrighty in this table I've run the Sequential python 3 straight from the calculate field options and this is sorted ascending OID. You can see that the sequential values were assigned by the OID. I don't want this: In this next screen shot, I've ordered park name ascending by alphabet. I would prefer that the CampgroundID would then be "001, 002, 003", but it's not... Does this help explain what I'm looking for? Just downloaded Table Tools!!
... View more
06-22-2018
12:25 PM
|
0
|
4
|
4325
|
POST
|
I have ZERO experience with ArcPy, Arcade expressions... yadda yadda. I basically limp along until something magically works and I'm a huge fan of Copy/Paste. THAT SAID, I'm dipping my toe into something that I thought would be easy... I have a bunch of campgrounds, and these are in some parks. I want to give them sequential values based on sorting the PARK_NAME field alphabetically. Using Python 3 in Field Calculator, "Sequential Number" will only assign sequential values based on the Object ID field - it doesn't care how I've sorted it. How do I tell it to use my sorted field instead of the Object ID? Help!
... View more
06-22-2018
10:40 AM
|
1
|
15
|
6987
|
POST
|
Hi, I'm wondering what my options might be for entering a range of time into a single field? I.E. If someone doesn't know an exact time that something happened, then I need them to be able to enter it as a range of dateTime. I've thought up some creative ways using the Collate Field function, but I'm hoping there is something more elegant out there. Thanks, Sunny#
... View more
05-15-2018
10:31 AM
|
0
|
1
|
742
|
POST
|
Awesome. At work, a simple reboot resolved the issue - but I'll have to try this at home where it's still happening (on a different dataset.) Thanks!
... View more
04-23-2018
09:19 AM
|
1
|
0
|
15448
|
POST
|
Yea- a simple reboot helped... although interestingly enough I'm still having this issue at home, but I plan to run through Kory's suggestions below.
... View more
04-23-2018
09:19 AM
|
0
|
0
|
15448
|
POST
|
It is a point featureclass Zoom to layer works. When I'm zoomed in, I see my red features. It's as if it's deciding it's going to set a zoom scale for me, when none is set. (I've even tried setting and then resetting - no luck!) Behaves same in fresh map doc.
... View more
04-20-2018
12:22 PM
|
0
|
4
|
15448
|
POST
|
I've got a point layer with 3700 features in ArcPro. Earlier today (and all last week, and the week before), it was displaying fine and then suddenly it decided it didn't want to display. I've checked zoom extent and it's set to none. Option to zoom to visible grayed out. When I select all in the attribute table they DO highlight as if they are there, but when I deselect they do not show (and they are set as little red dots, no transparency applied.) If I select a handful and zoom to, they show. Working in ArcPro 2.1.2 on HP ProBook650 G2, i7, Windows 10 Is ArcPro choosing not to display when a certain number of features exist? If so, what's the cutoff, and can I override that? UPDATE 4/23/2018: A simple close and re-open resolved the issue! Duh.
... View more
04-20-2018
12:09 PM
|
1
|
8
|
15863
|
Title | Kudos | Posted |
---|---|---|
1 | 06-22-2018 10:40 AM | |
1 | 04-20-2018 12:09 PM | |
1 | 01-07-2019 08:52 AM | |
1 | 12-06-2018 03:47 PM | |
3 | 07-31-2018 02:12 PM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:25 AM
|