POST
|
I have a field of zip codes in one of my layers. In ArcDesktop, they are the Long integer type, and I do not have issues with the thousand comma separator. When I share this map on ArcGIS Online, this field adds a comma separator into my zip codes. Can anyone advise on how to fix this? I tried to manually edit the data in ArcGIS Online and it did not help. See attachments. Thanks!
... View more
09-14-2017
08:09 AM
|
0
|
1
|
4004
|
POST
|
Hi All, Converting my layer to a feature class and referencing that feature class in the cursor worked! Thank you so much for all of your help. -AO
... View more
11-18-2016
11:16 AM
|
1
|
0
|
251
|
POST
|
Here is the updated script. I have tested ALL other parts of the script and it works. Just the cursor is not working. According to this source from Esri, I should be able to just reference the layer to update the rows in the table. UpdateCursor—ArcPy Functions | ArcGIS for Desktop
... View more
11-18-2016
10:23 AM
|
0
|
3
|
1486
|
POST
|
Now I got it to recognize the file but I’m getting a different error: All of the script seems logical and the file works fine. This is the first time I’m running into this problem, where the cursor is not working and I am not getting much information from the IDLE on why.
... View more
11-18-2016
08:25 AM
|
0
|
5
|
1486
|
POST
|
The feature I am trying to update is saved in this path on my computer: C: Users 30030839 Desktop Python capacity_points_layer2.lyr It is a point shapefile. I have attached the point shapefile if that helps. Regards, Alysa Ochoa | Reporting Specialist, Business Intelligence | Bright Horizons Family Solutions | Phone: 720.644.2040 | alysa.ochoa@brighthorizons.com<mailto:alysa.ochoa@brighthorizons.com> | 2655 W. Midway Blvd., Suite 330 | Broomfield, CO 80020
... View more
11-18-2016
08:21 AM
|
0
|
0
|
1486
|
POST
|
It’s a .lyr file. To test, I added it to ArcMap to make sure it worked. It seems like everything is fine and it should work. I also tried the cursor with .lyr and it did not help. [cid:image002.png@01D2417B.CC5CC3A0]
... View more
11-18-2016
08:12 AM
|
0
|
8
|
1486
|
POST
|
Hi everyone, I'm writing a script to plot points and then delete rows that have a value of less than 5. I am getting the following error on the cursor lines: Traceback (most recent call last): File "C:\Users\30030839\Favorites\Downloads\pyfinal2.py", line 32, in <module> cursor = arcpy.da.UpdateCursor("C:\\Users\\30030839\\Desktop\\Python\\capacity_points_layer2", ["DEM"]) RuntimeError: cannot open 'C:\Users\30030839\Desktop\Python\capacity_points_layer2' I'm not sure why this file isn't able to open. It's not being used in any application, and its folder is not open.I added the file to ArcMap previously to make sure the shapefile worked and that the attribute table exists, and it's fine. Does anyone know why I would be getting this error?
... View more
11-18-2016
07:59 AM
|
0
|
12
|
2286
|
Title | Kudos | Posted |
---|---|---|
1 | 11-18-2016 11:16 AM | |
1 | 11-18-2016 11:21 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:25 AM
|