|
POST
|
Nobody ever provided a solution, and as far as I can tell there is no mention in the help documents. I ended up changing the way I used the tool. Basically the way I used it since I started using Pro was different since the upgrade to 2.7. I had to select different options in the tool dialog that I normally didn't before. It has been working for me now using this method. Something for you to check is what format is the field that you are calculating into. I usually use a "Double" number.
... View more
02-01-2021
05:25 AM
|
0
|
0
|
2961
|
|
POST
|
I ran "Check Geometry" and no errors were found. Looking at the "Calculate Geometry" tool again this morning, I decided to try something different. For the last year I always just changed the "Coordinate Format" option to "Decimal Degrees" and got what I wanted. This morning instead of doing that, I manually changed the "Coordinate System" option to WGS1984 and it calculated the Lat/Long I was expecting. I did still get the weird warning/errors. In the end, I'm not sure if the old version was working as intended or this was something ESRI meant to change. I could find no documentation of this change on the help site. To me they look the same for 2.6 or 2.7. I can live with this work around, it is just confusing that when I upgraded to 2.7 this tool no longer worked in the same manner it had before.
... View more
12-29-2020
06:19 AM
|
0
|
2
|
3041
|
|
POST
|
I recently upgraded to version 2.7 and I now have a problem using the "Calculate Geometry". My project is in Pennsylvania State Plane (WKID = 4269) and I need to calculate the Latitude and Longitude for points as I add and edit them. In Pro 2.6 I used the "Calculate Geometry" to do this all the time with no problem. Nothing has changed in my data, format, or process except the update. Now I get errors : WARNING 160096: The length of the value exceeds that of the field. WARNING 001086: Skipping feature(s) because of NULL values in # field. and then the tool just returns the State Plane feet values. Is anyone else having an issue? Is this a bug or has the process changed? Thanks for any insights!
... View more
12-28-2020
01:31 PM
|
0
|
5
|
3073
|
|
POST
|
I have run into a similar problem with Calculate Fields. I wrote my expression in Arcade but never changed the expression type from Python (it is Python by default). Once I changed the expression type to Arcade it fixed the problem. Just a thought of something to check.
... View more
03-13-2020
06:33 AM
|
1
|
0
|
2491
|
|
POST
|
I am continuing my journey of migrating from ArcMap Attribute Assistant to the new ArcGIS Pro Attribute Rules. The old attribute assistant had the option to "Link Table Asset" which "updates a field in the table or layer with a value from a selected feature." I found this useful for transferring attributes from an existing feature to a new feature. For example: I would select a street and then create a new point feature for an address. The Assistant would grab the street pre-direction, name, type, post direction, and full name fields and calculate the new address point's fields with the same information, so I only had to manually enter the number and I was done. RoadCenterLine|PRE_DIR,STR_NAME,STR_TYPE,POST_DIR,STNAME I was wondering if the Attribute Rules (and Arcade language) has something similar? I have been able to use the Arcade intersect() to pick up and calculate features under my new point. I am aware of the "Transfer Attributes" tool when editing, and that does work, but it is more manual and more steps. I liked the "automatic" transfer the Assistant gave me. Anybody have some suggestions? Thanks in advance!
... View more
03-11-2020
11:45 AM
|
1
|
2
|
1649
|
|
POST
|
Thank you! Your code worked. I also asked this question on another forum (Geographic Information Systems Stack Exchange ) The solution presented by Hornbydd is this: var inArray = [$feature.FromAddr_L,$feature.ToAddr_L,$feature.FromAddr_R,$feature.ToAddr_R];
var sortedArray;
sortedArray = sort(inArray);
for(var i in sortedArray)
{
if (sortedArray > 0) break;
}
return sortedArray;
Both solutions work in the Field Calculator. It will be interesting to see if they work in the Attribute Rules. Thank you!
... View more
03-02-2020
06:17 AM
|
1
|
1
|
2188
|
|
POST
|
Hi! I am trying to get familiar with the new Arcade language. Specifically as used in Attribute Rules. I am trying to create an Arcade expression to calculate a field in ArcGIS Pro. In my streets feature there are 4 number fields to evaluate. I can easily use the Min() function to do this. The problem that I am having is sometimes there is a 0 in one or more fields. I need the lowest number that is not a 0. In python I had this script which worked well: min([x for x in ( !L_F_ADD!, !L_T_ADD!, !R_F_ADD!, !R_T_ADD!) if x is not 0]) I have tried redoing this in Arcade but can't figure it out. Any ideas?
... View more
02-28-2020
01:03 PM
|
0
|
3
|
2293
|
|
POST
|
I have upgraded to 2.3 and after using for a few days, I am much happier with the random color patterns. It appears to be working as expected now. Thank you ESRI for looking into this and fixing it.
... View more
02-13-2019
08:03 AM
|
2
|
0
|
2214
|
|
POST
|
I am still having this issue as well. The "Random" symbology is not very random. Most of the time I get groups of varying shades of the same colors. I feel like the random symbology in Desktop gave a much better color spread. I have been using the work around of importing symbology from a layer created in Desktop, but what happens when Desktop goes away? I would really like to just pick "Random" and get a random symbology instead of tinkering around with all of the settings. I'm hoping it is something ESRI is looking into.
... View more
10-22-2018
06:50 AM
|
1
|
0
|
2214
|
|
POST
|
It appears that everything is working correctly now. I'm guessing because of 2.1.1?
... View more
02-13-2018
06:57 AM
|
0
|
2
|
2800
|
|
POST
|
We have been switching a lot of our projects over to Pro and it has been fairly successful. I'm trying to convert a map book we currently have in desktop 5.1. We have an index grid that is no problem to create, and in desktop you can go to "Data Frame Properties" and then "Grids" and you could set up an "Index Grid" with the Grids and Graticules Wizard that would put graphics around your data frame in layout view. (See Screenshot attachments) My question is, is there a way to do this in Pro? I see the "Grid" option on the Map Frames tab, but it only lets you add graticules, measured grids, and MGRS. I can't seem to find anything in the online help. What am I missing? Thanks for any help.
... View more
02-13-2018
06:27 AM
|
1
|
8
|
4197
|
|
POST
|
I have a contour feature in my ArcGIS Pro project. When I turn on the labels for the elevation (double), they seem to label fine for all of the different label placement options except for "Contour Placement". I can scroll through all the placement options such as "Basic Line", "European Streets", "North American Streets", etc.. and watch the labels change position, but as soon as I choose the "Contour Placement" they just don't appear. I have the "View Unplaced" option checked and nothing shows up. I have tried different options within the placement control pane such as Uphill Alignment, Page Alignment, Ladders and nothing seems to work. I guess my question is does anybody else have this problem? Is this a bug? Am I doing something silly? Thanks for any feedback.
... View more
10-30-2017
08:35 AM
|
0
|
11
|
3875
|
|
POST
|
That is some impressive script wizardry! It worked and did what I needed. Thank you so much! I appreciate you taking the time to help me out.
... View more
07-20-2017
10:15 AM
|
0
|
2
|
1453
|
|
POST
|
I really appreciate your help. I tried your tool but it failed and this is what I got: Start Time: Thursday, July 20, 2017 8:56:42 AM Running script UpdateLATLONG... WARNING 001097: LAT already exists -- overwriting. Failed script UpdateLATLONG... Traceback (most recent call last): File "C:\Users\spsummers\Downloads\CalcGeometryModified\CalcGeometryModified.tbx#UpdateLATLONG_CalcGeometryModified.py", line 387, in <module> File "C:\Users\spsummers\Downloads\CalcGeometryModified\CalcGeometryModified.tbx#UpdateLATLONG_CalcGeometryModified.py", line 61, in execute File "C:\Users\spsummers\Downloads\CalcGeometryModified\CalcGeometryModified.tbx#UpdateLATLONG_CalcGeometryModified.py", line 313, in CreateOutputFields RuntimeError: Table is already locked [Table is already locked[gis.GISDB.AddressPoints.LONG]] Failed to execute (UpdateLATLONG). Failed at Thursday, July 20, 2017 8:58:06 AM (Elapsed Time: 1 minutes 24 seconds) I know some very basic python but this is a little over my head.
... View more
07-20-2017
06:35 AM
|
0
|
4
|
1453
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 10-23-2024 06:28 AM | |
| 1 | 03-11-2020 11:45 AM | |
| 1 | 07-12-2022 08:25 AM | |
| 2 | 07-13-2022 10:54 AM | |
| 1 | 10-13-2021 06:37 AM |