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
Tuesday
|
1
|
0
|
75
|
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
Monday
|
0
|
1
|
107
|
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
4 weeks ago
|
5
|
1
|
691
|
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
4 weeks ago
|
0
|
1
|
358
|
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
a month ago
|
0
|
0
|
207
|
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
a month ago
|
0
|
3
|
487
|
POST
|
A workaround could be to use arcpy.sa.Lookup if you don't want to continue using PolygonToRaster.
... View more
a month ago
|
0
|
0
|
189
|
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
|
316
|
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
|
339
|
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
|
379
|
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
|
447
|
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
|
301
|
POST
|
My experience is the opposite. I used to dread having to open the horribly unstable and agonisingly slow mess that was ArcMap whenever I needed certain functionality that hadn't (at the time) been added to ArcGIS Pro which I find fast and stable. I don't have any workflows that ArcMap could do better (or at all) now though, unlike John with Network Analyst, so I now no longer have ArcMap installed and do not miss it in the slightest. I don't know why ArcMap was so slow and unstable for me, probably because of our IT environment/database/system/network at the time and the add-ins that were installed (mix of python and .net add-ins). I suspect the python add-ins were a big contributing factor with the crashiness. So my point is don't just blame Pro (or ArcMap in my case), look at the environment it's running in as well.
... View more
04-22-2025
09:04 PM
|
5
|
2
|
1248
|
POST
|
I assume it's intended behaviour as the point of conda/venv/etc python environments is to not clash with the system python. If you only have one python, then I can see your issue, but I have many and I definitely do not want them accessing libraries in that user site packages dir. If you want to add additional libraries, the workflow is to clone your arcgispro-py3 environment and use conda or the ArcGIS Python package manger to install those libraries into the clone.
... View more
04-15-2025
01:13 AM
|
0
|
3
|
440
|
POST
|
If those Access DBs are personal geodatabases, you'll need to convert them to a file geodatabase or other supported format andthen repair the datasources to point to the new feature classes. From your "Migrate existing work" link: Note: Personal geodatabases (.mdb) are not supported in ArcGIS Pro. And from the ArcGIS Pro -> ArcMap FAQ: Can I use personal geodatabases (.mdb) as data sources for ArcGIS Pro? Personal geodatabases are not supported in ArcGIS Pro. However, in ArcMap you can run a geoprocessing tool to convert personal geodatabases to file geodatabases. Alternatively, in ArcGIS Pro you can make an OLE DB connection to a personal geodatabase. This gives you a read-only view of the data and allows you to import the data into a supported geodatabase.
... View more
03-07-2025
08:42 PM
|
0
|
2
|
608
|
Title | Kudos | Posted |
---|---|---|
1 | Tuesday | |
5 | 4 weeks ago | |
1 | 05-04-2025 10:34 PM | |
5 | 04-22-2025 09:04 PM | |
3 | 02-27-2025 01:35 PM |