|
POST
|
Beautiful solution for those with workflows that allow registering the FC as versioned with the option "Move Edits to Base"
... View more
10-10-2020
11:14 AM
|
0
|
0
|
9614
|
|
POST
|
excellent, I am facing the same issue. Initially, making a database connection in ArcCatalog gave me this error: Client software failed to load. Be sure the database client software is installed and configured correctly This didn't work. Verified there is issue with 32-bit Oracle client, because SQL plus 32-bit app will not launch. Verified by looking at properly working SQL Plus 64-bit and 32-bit from another machine that had no issues accessing Oracle 32-bit via task scheduler. 32-bit ODBC Data Source app is successful when making a connection. I was getting some permissions issue once I applied explicit permission to my domain user account on the sqlplus.exe file: The initial workaround I was doing was to run as admin, but the real fix was: In the advanced security settings, I changed the owner of the parent oracle folder to my admin domain user account (from the original owner admin user account), allowed my account the full control, Enable Inheritance, check the box on for 'Replace all child object permission entries with inheritable permission entries from this object', ok, then when finalized, switched back to original owner. Now, I don't need to run anything explicitly as admin! reference: Give permissions to files and folders in Windows 10 https://answers.microsoft.com/en-us/windows/forum/windows_10-files-winpc/give-permissions-to-files-and-folders-in-windows/78ee562c-a21f-4a32-8691-73aac1415373 Other troubleshooting: The database client release must be compatible with the release of the database management system to which you are connecting (Oracle 19c). https://www.oracle.com/database/technologies/instant-client/downloads.html Verify the Enterprise Geodatabase, as well as the ArcGIS Desktop version are compatible with the Database version.
... View more
09-28-2020
09:35 AM
|
1
|
0
|
1139
|
|
POST
|
It is certainly manageable using AGO assistant, but even better once scripted.
... View more
09-14-2020
01:58 PM
|
0
|
1
|
2376
|
|
POST
|
Hey David, See this document by Jake Skinner. I've used his source code, and modified it to meet my needs. https://community.esri.com/docs/DOC-13762-copy-content-between-portals By the way, congratulations on being the top newest GeoNet new member contest winner! What an achievement!
... View more
09-09-2020
07:30 PM
|
0
|
3
|
2376
|
|
BLOG
|
This is an excellent blog! So much good information, such as talk about GPU's, AWS virtual workspaces, troubleshooting performance in Pro, NASA and Esri github open source image tools, recommendations on bootcamp and parallels, suggestions on gp tools available and their use......wow! Thank you to all who participated. It helps tremendously. There is a free virtualization option called Oracle VirtualBox: Oracle VM VirtualBox Here are additional resources: Run ArcGIS Pro on a Mac—ArcGIS Pro | Documentation ArcGIS Pro in Mac OS X Virtualbox + ArcGIS 10 Installing ArcGIS Desktop on a Mac | Cal State Monterey Bay Running ArcGIS Pro in a virtualized environment—ArcGIS Pro | Documentation Parallel Desktop: https://www.parallels.com/products/desktop/ Support service: https://www.parallels.com/products/desktop/support/ BootCamp: https://support.apple.com/boot-camp Support Service: https://support.apple.com/
... View more
09-09-2020
07:29 AM
|
1
|
0
|
12569
|
|
POST
|
As of version 1.8.2 of the ArcGIS Python API, this is not available: arcgis.gis module — arcgis 1.8.2 documentation
... View more
09-01-2020
01:20 PM
|
0
|
1
|
8492
|
|
POST
|
Thanks for that, I was looking where I could find docs for those methods. They are methods of the row object: Row—ArcGIS Pro | Documentation
... View more
08-23-2020
02:53 PM
|
0
|
0
|
5344
|
|
POST
|
'''
The function is defined in the code block.
The function is executed in the expression.
Hit the 'verify' check mark to ensure the expression is valid.
After the run, check for remaining null values in the calculated field.
Nulls indicate your state abbreviations were not defined in the dictionary.
https://gis.stackexchange.com/questions/16423/converting-state-name-abbreviations-to-full-names-using-arcgis-field-calculator
'''
# Expression:
# <FIELD> =
stateNames(!STATE_ID!)
# Code Block
def stateNames(stateAbbreviation):
states = {
'AK': 'Alaska',
'AL': 'Alabama',
'AR': 'Arkansas',
'AS': 'American Samoa',
'AZ': 'Arizona',
'CA': 'California',
'CO': 'Colorado',
'CT': 'Connecticut',
'DC': 'District of Columbia',
'DE': 'Delaware',
'FL': 'Florida',
'GA': 'Georgia',
'GU': 'Guam',
'HI': 'Hawaii',
'IA': 'Iowa',
'ID': 'Idaho',
'IL': 'Illinois',
'IN': 'Indiana',
'KS': 'Kansas',
'KY': 'Kentucky',
'LA': 'Louisiana',
'MA': 'Massachusetts',
'MD': 'Maryland',
'ME': 'Maine',
'MI': 'Michigan',
'MN': 'Minnesota',
'MO': 'Missouri',
'MP': 'Northern Mariana Islands',
'MS': 'Mississippi',
'MT': 'Montana',
'NA': 'National',
'NC': 'North Carolina',
'ND': 'North Dakota',
'NE': 'Nebraska',
'NH': 'New Hampshire',
'NJ': 'New Jersey',
'NM': 'New Mexico',
'NV': 'Nevada',
'NY': 'New York',
'OH': 'Ohio',
'OK': 'Oklahoma',
'OR': 'Oregon',
'PA': 'Pennsylvania',
'PR': 'Puerto Rico',
'RI': 'Rhode Island',
'SC': 'South Carolina',
'SD': 'South Dakota',
'TN': 'Tennessee',
'TX': 'Texas',
'UT': 'Utah',
'VA': 'Virginia',
'VI': 'Virgin Islands',
'VT': 'Vermont',
'WA': 'Washington',
'WI': 'Wisconsin',
'WV': 'West Virginia',
'WY': 'Wyoming'
}
if stateAbbreviation is not None:
if stateAbbreviation in states:
return states[stateAbbreviation]
else:
return None
else:
return None
... View more
08-19-2020
02:22 PM
|
1
|
2
|
5793
|
|
POST
|
This was what got it to work: try:
tagsListObjects = tree.findall("idinfo/keywords/theme/themekey")
tagsList = []
for i in tagsListObjects:
# themekey = i.find('/theme/themekey').text
# placekey = i.find('place/placekey').text
# temporalkey = i.find('temporal/tempkey').text
if i.text:
tagsList.append(i.text)
if tagsList:
tags = ', '.join(map(str, tagsList))
else:
tags = 'There are no tags for this item.'
except Exception as e:
print (e)
tags = "None" I'm still thinking how I will get at 'idinfo/keywords' _children's _children's tree.findall("idinfo/keywords") returns the grandparent: Any suggestions on this?
... View more
08-18-2020
07:04 PM
|
0
|
1
|
2424
|
|
POST
|
Blake Terhune Curtis Price Dan Patterson I am trying to get all of the tags from the metadata, add them to a list, then convert the list to a comma-separated string to insert as a value in the excel. sample xml: <keywords>
<theme>
<themekt>None</themekt>
<themekey>polygon</themekey>
<themekey>area</themekey>
<themekey>population</themekey>
<themekey>boundaries</themekey>
<themekey>households</themekey>
<themekey>society</themekey>
<themekey>demographics</themekey>
<themekey>farming</themekey>
</theme>
<theme>
<themekt>ISO 19115 Topic Categories</themekt>
<themekey>society</themekey>
<themekey>boundaries</themekey>
<themekey>farming</themekey>
</theme>
<place>
<placekt>None</placekt>
<placekey>U.S. Counties</placekey>
<placekey>United States</placekey>
<placekey>Counties</placekey>
</place>
<temporal>
<tempkt>None</tempkt>
<tempkey>2002</tempkey>
<tempkey>2004</tempkey>
<tempkey>2010</tempkey>
<tempkey>2012</tempkey>
<tempkey>1992</tempkey>
<tempkey>2011</tempkey>
<tempkey>2013</tempkey>
</temporal>
</keywords> Here is the code I have: try:
tagsListObjects = tree.findall("idinfo/keywords/theme/themekey")
tagsList = []
for i in tagsListObjects:
tagsList.append(i.text)
tags = ','.join(map(str, tagsList))
except Exception as e:
print (e)
tags = "None" Here is what the tagsListObjects looks like: Unfortunately, the tagsList never gets anything appended, even though i.text has the appropriate text value. A debug session takes me to line 5, then skips to the set the tags value as "None" without printing any error. I know I will also be including place/placekey and temporal/tempkey in this string. Any suggestions please? Reference: XML parsing in Python - GeeksforGeeks how to recursively iterate over XML tags in Python using ElementTree? - Stack Overflow Dealing with XML in Python Python XML with ElementTree - DataCamp
... View more
08-18-2020
05:11 PM
|
0
|
2
|
2424
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 12-11-2024 08:12 PM | |
| 1 | 10-03-2024 07:58 AM | |
| 1 | 01-13-2025 10:30 AM | |
| 1 | 04-18-2025 04:53 PM | |
| 1 | 02-21-2025 09:01 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-25-2025
04:55 PM
|