|
POST
|
The NAIP imagery doesn't line up exactly with the World Imagery basemap. This is not unusual. Since you digitised against the NAIP imagery, just add the NAIP Imagery to Pro and show your outline over it. Alternatively, digitise from the World Imagery basemap. https://naip.arcgis.com/arcgis/services/NAIP/ImageServer
... View more
01-23-2022
07:56 PM
|
1
|
2
|
3507
|
|
POST
|
It's a function. You need to call it: VerticesToPoints ("C:/path/to/zpoints.shp", "c:/gis/project", "test.shp") You could also research how to create a python script tool.
... View more
01-22-2022
02:13 AM
|
2
|
0
|
3473
|
|
POST
|
Please post code (and code block expressions) as formatted code not screenshots, makes it so much easier for people to read, copy, test and then hopefully answer. https://community.esri.com/t5/python-blog/code-formatting-the-community-version/bc-p/1135971
... View more
01-21-2022
03:41 PM
|
0
|
0
|
2778
|
|
POST
|
Looks like the .scikit-learn-post-link.bat can't find the conda command, try adding the directory that conda is installed to to your PATH environment variable. Close Pro. Click your Start Menu and start typing environ, select "Edit environment variables for your account" add a new entry to the PATH variable "C:\Program Files\ArcGIS\Pro\bin\Python\Scripts". Then reopen Pro, go to the Python Package Manager and try the clone again.
... View more
01-21-2022
01:21 AM
|
3
|
2
|
5137
|
|
POST
|
How are you trying to clone (conda command or ArcGIS Pro Python Package Manager GUI)? What is the error message? Are you in a corporate environment with restrictive IT security?
... View more
01-20-2022
04:37 AM
|
0
|
4
|
5189
|
|
IDEA
|
ArcGIS Pro passes parameters to Python Toolbox (.pyt) Tool updateParameters, updateMessages and execute methods as a list. Changing this to a namedtuple by default would allow access by parameter name as well as by index. Currently users can create a dictionary or a namedtuple themselves, e.g the way I do it is below, but I've also seen some fairly awkward attempts with globals and loops. As a dict: class Tool
etc...
def execute(self, parameters, messages):
parameters = {p.name: p for p in parameters}
# do something with parameters["some_name"] As a namedtuple: from collections import namedtuple
class Tool
etc...
def execute(self, parameters, messages):
parameters = namedtuple('Parameters', (p.name for p in parameters))(*parameters)
# do something with parameters[0] or parameters.some_name
... View more
01-13-2022
08:53 PM
|
12
|
3
|
3258
|
|
POST
|
Right click the "Raster to Point" tool and select "Batch".
... View more
01-12-2022
12:21 AM
|
1
|
6
|
6546
|
|
POST
|
In the geoprocessing toolbox, find the Table to Table tool, right click it and select "Batch"
... View more
01-10-2022
01:54 PM
|
1
|
1
|
3410
|
|
POST
|
ArcGIS Pro only runs on Windows, see the system requirements. Chromebooks run ChromeOS. Though looking up the specs of your Samsung - Galaxy Book Pro 360, it's not a Chromebook, but a Windows laptop/notebook so it should run Pro, seems like it meets at least the minimum specs.
... View more
01-10-2022
01:59 AM
|
1
|
0
|
3564
|
|
POST
|
@GerryGabrisch wrote: ... As far as code execution goes I am running this as a stand-alone Python script in WingIDE. ArcGIS Pro is not actively running. Yes, you already stated that. Doesn't matter, geoprocessing operations are logged to feature class metadata and an external file in scripts, turn them both off. arcpy.SetLogMetadata(False)
arcpy.SetLogHistory(False)
... View more
01-07-2022
06:49 PM
|
2
|
1
|
5553
|
|
POST
|
Geoprocessing operations are logged to feature class metadata and an external file in scripts (%AppData%\Roaming\Esri\ArcGISPro\ArcToolbox\History), turn them both off.
... View more
01-07-2022
03:53 PM
|
0
|
3
|
5567
|
|
POST
|
Some ideas in this thread. In particular, try using MakeFeatureLayer and pass that to Select Layer By Attribute instead of a feature class (or use MakeFeatureLayer with a where clause and then use GetCount) turn off geoprocessing logging and history
... View more
01-07-2022
03:33 PM
|
0
|
1
|
5578
|
|
POST
|
You're trying to use the syntax for Calculate Field with the Calculate Fields tool. The syntax for Calculate Fields is: arcpy.CalculateFields_management(in_table, expression_type, fields, {code_block}, ...)
#Or
arcpy.management.CalculateFields(in_table, expression_type, fields, {code_block}, ...) The syntax for Calculate Field is: arcpy.management.CalculateField(in_table, field, expression, {expression_type}, {code_block}, etc...)
#Or
arcpy.CalculateField_management(in_table, field, expression, {expression_type}, {code_block}, etc...) As you're only calculating a single field, just change to using the Calculate Field tool: arcpy.CalculateField_management(out_fc, tagid, value, "PYTHON3")
#Or
arcpy.management.CalculateField(out_fc, tagid, value, "PYTHON3")
... View more
01-06-2022
11:48 AM
|
0
|
0
|
1817
|
|
POST
|
Your file path is r"...\Trial_out.gdb\Trail_Data_A.shp" This will never work. You appear to have saved a shapefile into a .gdb folder that while it is just a folder to Windows, is not treated as a folder by ArcGIS, but as a file geodatabase. ArcGIS does not recognise non-file geodatabase data that is stored in the .gdb folder. Move your Trail_Data_A.shp, Trail_Data_A.dbf, Trail_Data_A.shx, Trail_Data_A.* files out of the Trial_out.gdb folder to a normal folder. If you want a file geodatabase feature class, use ArcGIS to export your shapefile to the database.
... View more
01-06-2022
01:15 AM
|
2
|
0
|
10560
|
|
POST
|
I'm not sure it's possible with a Python Toolbox, perhaps a bug report or an ArcGIS Pro Ideas feature request about supporting filters for composite datatypes (e.g. parameter.filters[n].list = ["kml", "kmz"]) like is possible for value table parameters. In a PYT, a parameter with a composite datatype does have a .filters property, but all the elements (one for each datatype) are None, not a filter object). It is possible using a script tool instead of a python toolbox though...
... View more
01-03-2022
01:06 PM
|
0
|
0
|
3039
|
| 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 |