POST
|
I'm trying to accomplish the same thing - set the value for a date field to Null. However, I'm using ArcGIS Desktop 10.3, with a file geodatabase feature class stored on my org's network server. I had already tried the answer given here (calculate the field using Python and enter None), but I got the following error: "An unexpected failure occurred. No rows were updated." When I try to edit the field for an individual feature, there is a drop-down for selecting a date from a calendar. When I try to just delete the field value for one feature, I also get an error. Anyone know how to get around this?
... View more
03-05-2020
11:51 AM
|
0
|
6
|
5406
|
POST
|
I'm just wondering if there is any limit on the length of a definition query statement - by number of characters, maybe, or otherwise? I'm using ArcGIS Desktop 10.3. I just wrote a definition query statement like this... OBJECTID IN ('VALUE1', 'VALUE2', 'VALUE3', etc...) ...but with many more values in the list. In my example I had 300 values in the list. So, for future reference, at what point would the list be too long for ArcMap to handle?
... View more
01-03-2020
11:24 AM
|
0
|
2
|
1944
|
POST
|
OK, I solved this. I previously had the Label Buffer for the states layer set to 30%. I don't know why this would matter in this case, since there aren't any other labels on this map that would be near each other. But for some reason, after I changed the Label Buffer to 0%, the labels shifted towards the center of the visible portion of their respective polygons on each page, pretty much how I wanted.
... View more
11-22-2019
07:54 AM
|
1
|
0
|
1429
|
POST
|
Good thinking Joe. However, I forgot to add that I'm using Data Driven Pages to automatically generate the extent of each map based on feature attributes. Given that, your approach doesn't let me accomplish what I want in this case. But it could be a good workaround for some other scenarios.
... View more
11-22-2019
07:03 AM
|
1
|
0
|
1429
|
POST
|
How can I ensure that polygon labels are roughly centered over the visible portion of the polygon? In this example, the OH and PA labels are positioned nicely, but the NY label is almost at the edge of its polygon - I would like it to be more centered. I have seen many instances of this problem. I'm using ArcMap 10.3 with Maplex label engine enabled. (EDIT: I should also add that I'm using Data Driven Pages to automatically generate the extent of each map based on feature attributes.) The colored line layer has a feature weight of 1000, so labels will not overlap it. But I would like the NY label to be placed as close the center of the visible portion as possible without overlapping the green line. If I force the label to stay at the center of the whole polygon, it will sometimes be outside the extent of the data frame, in cases like NY as shown, and this is not desirable. The states polygon layer is using Regular Placement. It has interior feature weight of 0 and boundary feature weight of 1000. I tried Land Parcel Placement also, and I looked through other placement properties options.
... View more
11-18-2019
07:17 AM
|
0
|
3
|
1590
|
DOC
|
Thanks for your comment, and sorry I haven't replied sooner. I'm not sure what the issue is - I would have to investigate. Unfortunately it's not a priority for me in my current job, but I will try to look into this when I get a chance...
... View more
10-11-2019
01:10 PM
|
0
|
0
|
4223
|
POST
|
In ArcGIS Desktop 10.2, I used arcpy code in the Python interpreter to run the arcpy.JoinField_management tool, to join 2 fields from another table. For no apparent reason, the tool failed with the error "General Function Failure." But this is the really weird part: Exactly as that happened, I was watching the attribute table of the target feature class which I had open, and I saw all the records vanish! Suddenly ArcMap was no longer able to draw that layer. I still see the feature class in the catalog, but I can't add it to a new map, view its properties, or do anything with it now. When I try to add it to a new map, I get "error opening feature class." This is mind boggling. I tried closing and restarting ArcMap, but that didn't help. Anyone know why this would happen or how to get my data back? I may just have to look for a backup version of the data...
... View more
11-19-2018
12:44 PM
|
0
|
5
|
1295
|
POST
|
Well, I opened the map again later on, after shutting everything down and restarting, and the panning worked as expected. Not sure why it wasn't working before, but oh well...
... View more
10-31-2018
11:25 AM
|
0
|
0
|
3278
|
POST
|
OK, then I'm thinking that if the attribute I need from the lines is carried over to the points and then to the polygons that are generated from the points...then I will be able to dissolve the Thiessen polygons by that attribute and that will give me the result I need. This would be nice if it works... Thanks!
... View more
10-25-2018
07:11 AM
|
0
|
0
|
853
|
POST
|
I'm considering trying this technique. But I'm wondering this... I want to create one polygon for each group of lines that share an attribute. When I convert the lines to points, I'll end up with multiple points that represent each line...and I'm thinking I should dissolve those points into multi-part point features based on the attribute I'm interested in. But the Create Thiessen Polygons tool creates one polygon for each input point...so how does it handle multi-part point features? I don't see this addressed on the help page for the tool. Does it create one polygon for each point within a multi-part feature, or create one polygon for the entire multi-part feature? I suppose I could try it and find out, but that may take a while since I have a large data set.
... View more
10-24-2018
01:18 PM
|
0
|
2
|
853
|
POST
|
Is it possible to pan by holding down the mouse wheel in ArcGIS Pro? I was able to do this in ArcMap with the same mouse I'm using now, but I can't in Pro. Is there a setting I can change to enable this?
... View more
10-22-2018
04:03 PM
|
0
|
5
|
4726
|
POST
|
I encountered the same issue. I realized that when I first tried to use the Quick Import tool, I had not checked the box to enable the Data Interoperability extension. So I enabled the extension and ran the tool again, and there were only 2 or 3 additional file types that appeared in the list, but json was not one of them. I'm still puzzled.
... View more
07-02-2018
07:15 AM
|
0
|
0
|
394
|
POST
|
I have the same issue as the OP. I first tried using the json to features tool you mentioned above ^ but I got an error. As far as I can tell this is because the tool "Converts feature collections in an Esri JSON (.json) file or GeoJSON (.geojson) file to a feature class;" however, the file I have is not an Esri JSON or GeoJSON, it's just a .json.
... View more
07-02-2018
06:39 AM
|
0
|
0
|
394
|
DOC
|
ArcGIS custom toolbox which uses a python script, for updating a mass amount of field aliases at once, using a list of field names and corresponding aliases input by user. Let’s say you have an ArcGIS feature class or table with a bunch of cryptic, abbreviated field names, and you want to add aliases to make them easier to understand. Let’s say you also have a list of field names and corresponding aliases that you have prepared in Excel or whatever. All you need to do is save that list as a CSV file with the field names in the first column and aliases in the second column. Then run this tool. The only inputs required are the feature class and the CSV file. The script uses the arcpy and csv packages. It first reads the CSV file and parses it into a python list where each item in the list is a list containing a field name and alias value. Then it iterates through that list, running an arcpy command that attempts to update the alias for each field name in the list. As the tool is running, it will display a message for each field that gets an updated alias. If a field name from your list does not exist in the feature class, the tool will display a message telling you that and move on to the next one. It should take just a few seconds per field to run. I ran this tool successfully with ArcGIS Desktop 10.5. I believe it could also be tweaked to work on a shapefile instead of a feature class. It’s really a pretty simple script, and I’m probably not the first person to come up with something like this, but I couldn’t find a solution searching elsewhere. Please let me know or suggest changes if it doesn’t work for you.
... View more
06-04-2018
09:41 AM
|
5
|
13
|
5244
|
Title | Kudos | Posted |
---|---|---|
15 | 02-28-2024 12:27 PM | |
4 | 01-29-2024 09:51 AM | |
1 | 11-22-2019 07:03 AM | |
1 | 11-22-2019 07:54 AM | |
5 | 06-04-2018 09:41 AM |
Online Status |
Offline
|
Date Last Visited |
2 weeks ago
|