|
POST
|
@Robert_LeClair wrote: So it is possible to import the ArcInfo Interchange files (*.e00) using ArcMap with an Advanced license with ArcInfo Workstation installed. According to the docs, you can import at any license level (without ArcInfo workstation) using the Import from E00 (Conversion) tool https://support.esri.com/en/technical-article/000004705 However this tool is only available with ArcGIS Desktop, not ArcGIS Pro.
... View more
10-05-2022
01:42 AM
|
0
|
0
|
6036
|
|
POST
|
Your query is requesting rows where each entry in the clc_18 field is both one value and a different value at the same time. That will always return no rows. Use OR instead of AND, e.g clc_18 = Number OR clc_18 = Another Number Or use the IN operator, e.g clc_18 IN (Number, Another Number, Some Other Number)
... View more
09-30-2022
05:58 AM
|
1
|
1
|
1402
|
|
POST
|
You're reading the data in to a GeoDataFrame (gdf) which is in memory and no longer connected to the file geodatabase (FileGDB) FeatureClass (fc), so changing the gdf will not change the fc. You need to write the gdf back to the FileGDB and overwrite the fc. However, the OpenFileGDB driver that GeoPandas uses is read-only (unless you install the Esri FileGDB API and driver which can be difficult) so you are better off either using ArcGIS methods (field calculator or arcpy.da.UpdateCursor) to do your calculation, or writing out a different format (like a geopackage or geojson) and then using ArcGIS to import that to your FileGDB
... View more
09-29-2022
03:40 PM
|
1
|
0
|
4222
|
|
POST
|
You could use the Rescale by Function (Spatial Analyst) tool with an Exponential function.
... View more
09-27-2022
07:07 PM
|
1
|
1
|
3075
|
|
IDEA
|
I'd rather not have to clear an old query when running a new query. But if I want to re-run a query, this functionality already exists - I just re-open a previously run Select By Attributes tool from the history panel.
... View more
09-22-2022
05:22 AM
|
0
|
0
|
1761
|
|
POST
|
If you want to use field names to refer to row values instead of tuple indexes, you can convert the row to a dict: with arcpy.da.SearchCursor(feature_class, ["list", "of", "field", "names"]) as rows:
fields = rows.fields
for row in rows:
row = dict(zip(fields, row))
print(row['SOMEFIELD'], row["ANOTHERFIELD"])
... View more
09-16-2022
01:59 AM
|
2
|
0
|
2225
|
|
IDEA
|
Yep personal certs from "MY", e.g. to search for cert by subject or issuer CN import ssl
from cryptography.hazmat.backends import default_backend # cryptography < 3.1 https://cryptography.io/en/latest/faq/?highlight=backend#what-happened-to-the-backend-argument
from cryptography.x509.oid import NameOID
from cryptography import x509
def get_cert(subject=None, issuer=None, store="MY"):
for cert, encoding, trust in ssl.enum_certificates(store):
certificate = x509.load_der_x509_certificate(cert, backend=default_backend()) # cryptography < 3.1
# certificate = x509.load_der_x509_certificate(cert) # cryptography >= 3.1
if subject is not None and subject == certificate.subject.get_attributes_for_oid(NameOID.COMMON_NAME)[0].value:
return certificate
elif issuer is not None and issuer == certificate.issuer.get_attributes_for_oid(NameOID.COMMON_NAME)[0].value:
return certificate
... View more
09-07-2022
09:10 PM
|
0
|
0
|
7195
|
|
POST
|
Alpha bands can have any value between 0-255. That's the whole point. It's very common to use them for varying levels of transparency. Sounds like you want a mask band instead.
... View more
09-07-2022
02:37 AM
|
1
|
0
|
1723
|
|
POST
|
Set your snap raster and extent environments in the raster calculator.
... View more
08-19-2022
05:24 PM
|
0
|
0
|
2261
|
|
POST
|
What version of ArcGIS Pro are you using? That tool is only available in 2.9 or 3.0 (or ArcGIS Desktop, it looks like it was one of the tools that didn't make it into Pro initially)
... View more
08-18-2022
02:04 PM
|
0
|
0
|
4846
|
|
POST
|
Yep, conda-forge is the likely culprit, I've had similar issues before with arcgispro-py3 clones. conda config --remove channels conda-forge Then re-create your clone. When I need to create a conda env with conda-forge packages, I just set the channel on the command-line conda create -c conda-forge -n mynewenv packages that I want
... View more
08-09-2022
05:22 PM
|
3
|
0
|
10445
|
|
POST
|
Again, use string formatting f"{!A!:.0f} / {!B!:.0f}"
"{:.0f} / {:.0f}".format(!A!, !B!)
"%.0f / %.0f" % (!A!, !B!)
... View more
07-29-2022
04:02 PM
|
2
|
0
|
2930
|
| 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 |