IDEA
|
@RTPL_AU wrote: I acknowledge that others may have completely different use cases and see other sequences as ideal. The second part of the Idea is to allow us to select what we want to see by default under Project, and in what order. Yes, I rarely use the maps and layouts entries, never use styles or locators and would like toolboxes, folders and databases at the top in any order. So can't support the first part of this idea but definitely support the second (ability to reorder)
... View more
a week ago
|
0
|
0
|
115
|
IDEA
|
Seems to be an ArcGIS Pro python console and notebook issue/feature... Calling arcpy.AddMessage(some_message) in a script or python console from an IDE or terminal will print to stdout. But not from the ArcGIS Pro python consoles and notebooks.
... View more
3 weeks ago
|
0
|
0
|
183
|
POST
|
The interpreter was added to PyCharm when you had an older ArcGIS Pro/python installed. When you added it, PyCharm chose a default "name", which was the python version in your case and the name didn't get changed when the python version was updated. The "name" is just a PyCharm alias and that it refers to the wrong version doesn't actually matter (apart from being a bit confusing). You can rename the interpreter by going to File -> Setting -> Project -> Python Interpreter (or clicking the Interpreter item in the bottom right Pycharm bar) Select the Show all in the interpreter pick list: Select the incorrectly named interpreter and click the "Rename" button and change the name to whatever you want, perhaps arcgispro-py3 or similar:
... View more
a month ago
|
0
|
0
|
171
|
POST
|
@KeithAddison1 wrote: ... Is this because the coordinate system name is not baked anywhere into the file header? ... Is this because jpgs can't bake this information into their headers? What makes jpgs different than the tifs and sids in this regard? Yes. JPEGs do not have any spatial capability inherently, they're a simple image format. SIDs are a specially designed spatial raster format. TIFFs can have custom tags in the file and the GeoTIFF spec uses this to spatially enable TIFF files. World files don't contain a coordinate system, just the parameters for an affine transformation matrix. ArcGIS can determine JPEG coordinate system from *.prj or *.aux.xml files, but sounds like you don't have these sidecar files.
... View more
06-10-2025
08:06 PM
|
1
|
0
|
255
|
POST
|
The results object or tif_layer vars may be holding a reference the dataset causing a lock on the xml. Try cleaning those up (del results etc)
... View more
06-09-2025
06:27 PM
|
0
|
1
|
284
|
POST
|
Instead of: if string_value in options:
return options[string_value]
else:
return 0 You can use: options.get(string_value, 0) # or replace 0 with preferred default value
... View more
05-20-2025
07:56 PM
|
5
|
1
|
958
|
POST
|
Reinstalling won't help. Try deleting the environment. conda delete -n your_cloned_env Or in Windows Explorer, delete C:\Users\YOU\AppData\Local\ESRI\conda\envs\your_cloned_env Note AppData is a hidden folder)
... View more
05-20-2025
07:51 PM
|
0
|
2
|
666
|
POST
|
Use the `conda run` conmmand, e.g. conda run -n my_special_env python myscript.py arg1 arg2 Or to run it from a toolbox, have a wrapper script that does something like: import subprocess
subprocess.run(["conda", "run", "-n", "my_special_env", "python", "myscript.py", "arg1" "arg2"])
... View more
05-18-2025
01:33 AM
|
0
|
0
|
414
|
POST
|
I've broken cloned environments before mixing conda-forge and esri channels and avoid it now. If you want to install stuff from conda-forge, create a fresh (non esri) env with `conda create -c conda-forge <packages>`. To get back to an unbroken env, in a terminal run `proswap arcgispro-py3`
... View more
05-18-2025
12:53 AM
|
0
|
4
|
795
|
POST
|
A workaround could be to use arcpy.sa.Lookup if you don't want to continue using PolygonToRaster.
... View more
05-14-2025
10:35 PM
|
0
|
0
|
281
|
POST
|
That SQLite db looks like a spatialite DB which is something GDAL/OGR can read. The arcgispro-py3 env includes the GDAL/OGR (osgeo.gdal / osgeo.ogr) library, so may have the GDAL commandline tools (I'm not at my work computer, so can't check). If you have og2ogr available, you could convert the SQLite DB to a File GeoDatabase with something like (untested): ogr2ogr -of OpenFileGDB output.gdb input.sqlite
... View more
05-10-2025
02:19 AM
|
0
|
0
|
469
|
POST
|
Something is not right with your screenshot - you have nowhere near as many packages available (~10K vs 28K) as I do. What does conda config --show channels output?
... View more
05-08-2025
02:45 PM
|
0
|
2
|
479
|
POST
|
And you don't need to install from the microsoft channel, it's in main (defaults): > conda config --show channels
channels:
- esri
- defaults
> conda search msal
Loading channels: done
# Name Version Build Channel
msal 1.22.0 py310haa95532_0 pkgs/main
msal 1.22.0 py311haa95532_0 pkgs/main
msal 1.22.0 py312haa95532_0 pkgs/main
msal 1.22.0 py38haa95532_0 pkgs/main
msal 1.22.0 py39haa95532_0 pkgs/main
msal 1.25.0 py310haa95532_0 pkgs/main
msal 1.25.0 py311haa95532_0 pkgs/main
msal 1.25.0 py312haa95532_0 pkgs/main
msal 1.25.0 py313haa95532_0 pkgs/main
msal 1.25.0 py38haa95532_0 pkgs/main
msal 1.25.0 py39haa95532_0 pkgs/main
... View more
05-08-2025
02:14 AM
|
0
|
0
|
519
|
POST
|
I'm using 3.3.0 and MSAL is available to install into my cloned env from the package manager UI.
... View more
05-07-2025
04:28 PM
|
0
|
5
|
587
|
POST
|
Your integer raster may have more than 65,535 unique values (I haven't downloaded and checked). From Raster dataset attribute tables: By default, the size of a raster attribute table is limited to 65,535 unique values. You can increase this number on the Options dialog box by clicking the Raster Dataset tab in the Raster section. You could also try running the Build Raster Attribute Table (Data Management) tool.
... View more
05-04-2025
10:34 PM
|
1
|
0
|
436
|
Title | Kudos | Posted |
---|---|---|
1 | 06-10-2025 08:06 PM | |
5 | 05-20-2025 07:56 PM | |
1 | 05-04-2025 10:34 PM | |
5 | 04-22-2025 09:04 PM | |
3 | 02-27-2025 01:35 PM |