|
POST
|
Perhaps try the Set Raster Properties tool instead of the raster function.
... View more
09-21-2021
09:32 PM
|
0
|
1
|
4820
|
|
POST
|
If you're using ArcGIS Pro 2.8+ you could install geopandas (in a cloned env). You can read from a zipfile URL directly into a geodataframe, append more geodataframes, and then write out to file import geopandas as gpd
a_url = 'https://github.com/Toblerity/Fiona/raw/master/tests/data/coutwildrnp.zip'
gdf = gpd.read_file(a_url)
another_url = 'https://github.com/Toblerity/Fiona/raw/master/tests/data/coutwildrnp.zip'
gdf.append(gpd.read_file(another_url))
gdf.to_file('test.shp')
... View more
09-20-2021
03:18 PM
|
2
|
1
|
2733
|
|
POST
|
@DanPatterson wrote: File. With the Filter set to "aprx"
... View more
08-25-2021
10:05 PM
|
0
|
0
|
2928
|
|
POST
|
Include a where clause in arcpy.management.MakeFeatureLayer (see the "Expression" parameter)
... View more
08-18-2021
11:45 PM
|
5
|
1
|
24865
|
|
POST
|
https://pro.arcgis.com/en/pro-app/latest/arcpy/functions/listfields.htm Returns a list of Field objects, you've grabbed the name property, but you can also access type: for field in arcpy.ListFields(os.path.join(location,prefix+table)):
print(field.name, field.type)
... View more
08-02-2021
05:49 AM
|
0
|
1
|
3936
|
|
POST
|
If your values are all positive, just add 0.5 before truncating. Int("RASTER" + 0.5) You can then reclassify the rounded values to whatever you want.
... View more
07-28-2021
02:19 AM
|
0
|
0
|
2449
|
|
IDEA
|
Yes! This is particularly an issue with Enterprise GDBs where edits seems to be committed immediately without starting an edit session (I think there was an "Ideas" post about that).
... View more
07-25-2021
12:53 AM
|
0
|
0
|
10552
|
|
POST
|
Can you add your script and the error as code formatted text, not as screenshots please: How to insert code in your post
... View more
07-16-2021
09:20 PM
|
0
|
1
|
1616
|
|
POST
|
Did you clone from the command line? The python package manager GUI in Pro won't create clones in C:\Program Files\etc... as far as I'm aware. Did you install an updated/non-esri channel GDAL? In python, from osgeo import gdal; gdal.__version__ should return 2.33e which is an Esri customised gdal and automatically sets "GDAL_DRIVER_PATH" for you (in [env dir]/Lib/site-packages/osgeo/__init__.py).
... View more
07-13-2021
10:27 PM
|
1
|
1
|
4866
|
|
POST
|
I've had similar issues previously when mixing channels. I avoid using conda-forge with arcgispro-py clones (esri, defaults channels) now.
... View more
07-11-2021
04:34 PM
|
0
|
2
|
3356
|
|
POST
|
You could also: from datetime import datetime, timedelta, date, strptime
...
datestamp = strptime(('{}'.format(fc))[-15:], "%Y%m%d_%H%M%S")
... View more
07-09-2021
01:12 AM
|
0
|
1
|
3823
|
|
POST
|
You are importing the datetime class not the entire datetime module. from datetime import datetime, timedelta, date But then try to use the datetime module # line 56
datestamp = datetime.datetime.strptime(('{}'.format(fc))[-15:], "%Y%m%d_%H%M%S") So just use the datetime class that you imported datestamp = datetime.strptime(('{}'.format(fc))[-15:], "%Y%m%d_%H%M%S")
... View more
07-09-2021
12:42 AM
|
0
|
0
|
3832
|
|
POST
|
Weird. I've moved exclusively to Pro since 2.1 as I find it to be so much faster than ArcMap for my use cases (mainly geoprocessing).
... View more
07-01-2021
10:04 PM
|
0
|
0
|
3065
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 07-24-2022 03:08 PM | |
| 1 | 07-30-2025 03:00 PM | |
| 1 | 06-10-2025 08:06 PM | |
| 5 | 05-20-2025 07:56 PM | |
| 1 | 05-04-2025 10:34 PM |