|
POST
|
I think I'd got the route of using python to extract the access tables to a csv and then to a table to table with arcpy. see https://datatofish.com/how-to-connect-python-to-ms-access-database-using-pyodbc/ for pyodbc and https://stackoverflow.com/questions/37289951/how-to-write-to-a-csv-line-by-line/37290105#37290105 to write to a csv...
... View more
12-22-2020
12:11 PM
|
0
|
0
|
3884
|
|
BLOG
|
Thanks @KoryKramer ! Not to rain on the parade but when will we see : https://community.esri.com/t5/arcgis-pro-ideas/let-us-create-an-alias-for-connected-folders-in-arcgis-pro/idi-p/969285 implemented?
... View more
12-22-2020
10:48 AM
|
0
|
0
|
5118
|
|
POST
|
Hence 'think' in italics. I've never written arcade for anything but Pro, and always used the $featureDotAttribute syntax...
... View more
12-22-2020
08:58 AM
|
0
|
1
|
4912
|
|
POST
|
I think the difference is how you are referencing the feature attribute: if($feature["HH_STATUS"] == 0)
// try replacing with:
if($feature.HH_STATUS == 0)
... View more
12-22-2020
08:27 AM
|
3
|
3
|
4923
|
|
POST
|
If you run the Project Tool in arcgis pro, you will get all the parameters you need from the tool itself. You can then fold them into a script as described in the help https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/project.htm
... View more
12-21-2020
08:26 AM
|
2
|
0
|
3879
|
|
POST
|
You'll need to get familiar with the datetime module in python. Here are a couple of links to point you in the right direction: https://www.kite.com/python/answers/how-to-get-the-number-of-months-between-two-dates-in-python https://gist.github.com/amalgjose/c767a4846d6ecaa3b6d7
... View more
12-21-2020
07:28 AM
|
1
|
1
|
3058
|
|
POST
|
That's what's so fun about a post like this! Several different approaches that all work. I've never ever used rsplit(). Joshua's nested map() is pretty cool too! Just hope the OP isn't overwhelmed!
... View more
12-18-2020
01:59 PM
|
0
|
2
|
3821
|
|
POST
|
I haven't yet upgraded to 2.7 but plan to in the next (working) day or so. When upgrading to a new version of ArcGIS Pro, if you have cloned environment that the previous version pointed to, that environment is no longer available to your newest version. This is one of the reasons I'm always hesitant to upgrade. Seems like I get an environment just the way I want it with additional packages and ArcGis Pro gets version change. Incremental upgrades (2.6 to 2.6.1) will honor the current, active clone.
... View more
12-18-2020
01:05 PM
|
1
|
0
|
4558
|
|
POST
|
ArcGIS Pro 2.6 I have several locators created with create locator, and in each of them I have turned off what I consider to be extraneous Output Fields with the Locator Properties pane. This limits what is in the attribute table of the results when batch geocoding a table of addresses. Is it possible to limit what is returned in the details popup when using the Locate Tool? @BradNiemand JoeBorgione_0-1608324896452.png
... View more
12-18-2020
12:55 PM
|
0
|
1
|
1454
|
|
POST
|
Check for the presence of a comma. Treat row[0] as a list, pop() off the last member of that list and glue the whole mess back together, replacing the comma.... with arcpy.da.UpdateCursor(Table, ['Fld_1']) as cursor:
for row in cursor:
if ',' not in row[0]:
pass
elif ',' in row[0]:
rowList = row[0].split(' ')
first = rowList.pop()
last = ' '.join(rowList)
newRow = f'{first} {last}'.replace(',','')
row[0] = newRow
cursor.updateRow(row)
... View more
12-18-2020
10:59 AM
|
2
|
4
|
3842
|
|
POST
|
I didn't know if it would work or not. Excel and me aren't the best of friends: we tolerate each other because we have to!
... View more
12-18-2020
09:55 AM
|
2
|
0
|
5048
|
|
POST
|
Mixing metaphors; Arcade and Python. I suggest just doing it all in python and run the script as scheduled task or as you suggest a notebook.
... View more
12-18-2020
09:48 AM
|
3
|
3
|
3121
|
|
POST
|
Can't you just add it to a pro project? Better yet, wean you company off excel and into the geodatabase world...
... View more
12-18-2020
09:40 AM
|
1
|
2
|
5058
|
|
POST
|
Gotcha, and I've done the same on a very limited basis. Maybe create a batch file that sniffs them out and deletes them on start up?
... View more
12-18-2020
09:05 AM
|
0
|
0
|
2399
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 10-11-2018 07:12 AM | |
| 1 | 05-17-2021 11:18 AM | |
| 1 | 06-29-2021 11:42 AM | |
| 1 | 07-05-2012 07:49 AM | |
| 1 | 09-03-2016 06:16 AM |
| Online Status |
Offline
|
| Date Last Visited |
05-19-2026
11:56 AM
|