|
POST
|
You might want to check on API's GitHub page GitHub - Esri/arcgis-python-api: Documentation and samples for ArcGIS API for Python Check the "Issues" section there for Open and/or Closed issues. John Yaist, Timothy Hales FYI
... View more
04-22-2020
06:05 AM
|
3
|
0
|
3543
|
|
POST
|
If an extension is licensed for you, it is available for you CheckOutExtension—ArcPy Functions | Documentation Use extensions—ArcGIS Pro | Documentation If your organization has purchased extension licenses, and a license has been assigned to you, the tools and functionality associated with the extension are available automatically. Unlike arcmap where you have to enable/disable and extension
... View more
04-22-2020
04:01 AM
|
0
|
5
|
3181
|
|
POST
|
Don't know about arcmap, but in Pro this tools can be used Alter Field—Data Management toolbox | Documentation Direct arcpy changes I think depend on whether are looking at the layer/table view level or the actual featureclass. Some reading, or just skip to the last comment Using fields and indexes—ArcPy Get Started | Documentation You can read the alias, but in order to change it either the table needs to be empty or the field depending on what you want to change Alter Field—Data Management toolbox | Documentation It may be due to the differences between what can be seen or changed at the layer level versus the featureclass level based on this comments scattered throughout the help files The data source view displays field properties that are at the feature class level, such as the alias for a field, or the field name. and Updating a field property only updates the field object, no changes are made to the actual field in the table or feature class. In any event, If you can use the AlterField_Management tool in your script, be careful on how you set the parameters cannot change field alias without changing field name
... View more
04-21-2020
09:23 PM
|
1
|
1
|
1572
|
|
IDEA
|
background https://community.esri.com/thread/251715-can-the-new-clause-be-automatically-filled-in-the-operators-and-fields-of-the-above-clause
... View more
04-21-2020
08:51 PM
|
1
|
0
|
1091
|
|
POST
|
like walk through the folders, listing the featureclasses (shapefiles) and run your function on it? Walk—Data Access module | Documentation You add that to your current code
... View more
04-21-2020
06:11 PM
|
0
|
0
|
1060
|
|
POST
|
Glad it worked out and you have narrowed down the source.
... View more
04-21-2020
03:50 PM
|
0
|
1
|
2989
|
|
POST
|
Date fields—ArcGIS Pro | Documentation There are dates, then there are dates. Which is why I avoid using date fields, and convert to string As for VB, not used in ArcGIS Pro any more, and I haven't used ArcMap in years, so I can't help you out. I guess no one else is jumping in, so I can only wish you good luck.
... View more
04-21-2020
03:49 PM
|
0
|
0
|
4588
|
|
POST
|
Add a legend—Layouts | Documentation You describe the behaviour of a legend correctly When I make a legend, it just takes the symbol for the point layer and has that. And adding the table as you describe is correct as well. If you want a fancier legend, you can try multiple field symbology, or the simplest in your case, may be to add a new text field and concatenate the data in the row that you want and use that field for the legend. I suspect that this will be less that satisfactory since overwhelming the legend with too much information may be distracting. Referencing the table to point numbers and inserting the table for reference if people are interested, may be a compromise. Hard to tell, however, without seeing what information you are trying to convey and whether it needs to be mapped or just described in tabular form.
... View more
04-21-2020
02:37 PM
|
0
|
0
|
709
|
|
POST
|
Maybe this will help. The format is for my datetime settings n = datetime.datetime.now()
now_str = datetime.datetime.strftime(n, "%Y-%m-%d")
now_str.split("-")[0]
'2020'
... View more
04-21-2020
02:18 PM
|
0
|
0
|
4588
|
|
POST
|
An ugly workaround to deal with shifting month and day lengths is to split on the separator. If you have no 'time' you can omit the last split z = "8/23/2019 12:08:19 PM"
z.split("/")[2].split(" ")[0]
'2019' If you are using an alternate format then you have to adjust the slicing, as in the international standard format. z = "2019/8/23 12:08:19 PM"
z.split("/")[0]
'2019'
... View more
04-21-2020
01:14 PM
|
0
|
4
|
4588
|
|
POST
|
You have an entry which can't be converted from text to a number.... FULLNAME = 'A1A' # ---- bad
int(''.join(filter(str.isdigit, [FULLNAME])))
Traceback (most recent call last):
File "<ipython-input-2-29cd7d948fcc>", line 1, in <module>
int(''.join(filter(str.isdigit, [FULLNAME])))
ValueError: invalid literal for int() with base 10: ''
FULLNAME = '100' # ---- good
int(''.join(filter(str.isdigit, [FULLNAME])))
100
... View more
04-21-2020
12:48 PM
|
0
|
2
|
1228
|
|
POST
|
notify Help as well, it is explicit there is there is no bug posted
... View more
04-21-2020
09:08 AM
|
5
|
0
|
2073
|
|
POST
|
You don't like the help topics? I generally find them quite good, For example, a search using "field calculations" yields Fundamentals of field calculations—ArcGIS Pro | Documentation amongst other pages.
... View more
04-20-2020
03:54 PM
|
0
|
1
|
1393
|
|
POST
|
I don't see anything selected... If your image shows a selection, then something is wrong with the selection method (click on the number) To check, select one row and see if the row gets highlighted, then select ctrl OR shift (not both) and see if others get selected. If the row doesn't select, then something is up
... View more
04-20-2020
03:48 PM
|
5
|
0
|
2073
|
|
POST
|
never seen that. You are on your own machine ... ie no weird 'office' stuff (ie firewalls etc? ) You could try later, maybe with all that is going on, things are a bit 'off' occasionally
... View more
04-20-2020
03:19 PM
|
0
|
1
|
1183
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 10-03-2017 11:39 AM | |
| 1 | 08-05-2019 05:21 PM | |
| 1 | 09-02-2016 08:05 AM | |
| 1 | 01-15-2018 01:10 PM | |
| 1 | 09-17-2018 12:48 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:22 AM
|