Skip to main content
Geographic Information Systems

Questions tagged [python-script-tool]

Python Script Tools are added to standard toolboxes (*.tbx) of ArcGIS for Desktop

Filter by
Sorted by
Tagged with
0 votes
0 answers
31 views

Web Tool Issue: "Field" parameter type not supported when default layers removed (ArcGIS Pro / Python Toolbox)

I've developed a tool in ArcGIS Pro using a Python toolbox (.atbx), and recently shared it as a web tool. The tool takes several input parameters, including feature layers and a field selector. ...
0 votes
0 answers
71 views

Stop the geoprocessing tool from overwriting results with the same name

I'm working on a geoprocessing tool in the ArcGIS Pro environment. My Goal is to manually work on a set of points (requiring me to go thru all of them individually) and let the tool do its work on ...
0 votes
2 answers
73 views

Identifying feature without creating separate output

I am using ArcGIS Pro 3.2. I hoping to use the Identity tool to cookie cutter a buffer(layer B) into a polygon (layer A) without creating a separate output feature class. Currently I am using the ...
0 votes
0 answers
37 views

Writing tool for stacking point features on given co-ordinate

I am trying to write a Python code for creating a geoprocessing tool which will be added as a toolbox in ArcGIS Pro (v2.6). The tool will Ask for a "Target point feature" as input for the (...
-1 votes
1 answer
139 views

Returning value from ArcGIS Pro custom tool (.py)

How do we return a value from a custom .py tool, so that when I run the tool in another script, it will return a value (such as a number, string, or tuple)? Notice in the execute class function, I ...
0 votes
1 answer
88 views

Python from pathlib import Path crash into QGIS

I'm creating a custom Python script inside QGIS Processing in Mac OS system, I encountered a serious error cause a crash of QGIS application. If in my Python script I use this library: from pathlib ...
1 vote
1 answer
54 views

Using CalculateField within a script tool to edit the shape of a polygon

I am working in ArcGIS Pro 3.2 and with Python 3.9.18 I am trying to replace the geometry of a polygon with the polygon from another layer. I have used this small calculate field expression to replace ...
1 vote
0 answers
81 views

how to add toolbar menu on pyqgis using custom class with current QgsInterface?

currently i want to add a qgis toolbar icon, which needs to be populated on the qgis window after certain process using custom class by overriding the current qgisinterface. But while running the code ...
0 votes
1 answer
106 views

Using Python script inside QGIS Graphic Modeler

I created a model that combines two vector layers and outputs a single layer with aggregated data. I have a Python script that calculates the Chi-square, and I would like it to be executed at the end ...
0 votes
0 answers
63 views

Why is first output of ArcPy tool only one running?

I am attempting to write a python tool that uses the create routes, locate features along routes, and make route event layer tools (in that order). Essentially this is a three step process that I want ...
0 votes
1 answer
163 views

Select Layer by Attribute not working with variable, but doesn't give errors using ArcPy

I'm trying to make a simple script tool that allows the user to search a for a specific polygon in a feature class using a unique number. Using the python window in ArcGisPro I run arcpy.management....
1 vote
1 answer
133 views

Automate map updating using data from a folder in ArcGIS Pro

I'm trying to automate map updating in ArcGIS Pro using Python. Essentially, I need the program to read a folder with GeoJSON files, import them into a map, and update it. When I use the code below, ...
-1 votes
1 answer
186 views

ArcPy "listElements" error reported

I'm writing a script to convert a CAD polygon feature in a shapefile, calculate area(ha) in a new field and zoom to it in a 25.000 scale. import os, arcpy, sys from arcpy import env #PAR�METROS DA ...
0 votes
1 answer
128 views

Python Script Tool with validation not opening in ArcGIS Pro

I am trying to figure out why my ArcGIS Pro Python Script Tool with validation fails to open when I insert the block of code in my image. def initializeParameters(self): shpFile = r"C:\LPA\...
0 votes
0 answers
42 views

Reference dictionary keys in ArcGIS Tool Validation

I have a Python script that is stored in a custom toolbox in ArcGIS Pro. The script has a dictionary myDict that I want the keys of to appear as a drop-down list as an input for the tool. I know how ...

15 30 50 per page
1
2 3 4 5
...
33

AltStyle によって変換されたページ (->オリジナル) /