Quantcast
Channel: Forums - Python
Browsing all 2485 articles
Browse latest View live
↧

Extract by Points Error

Can anyone tell me why I am receiving this error? dist_Raster_0 is an existing raster in the workspace? ExecuteError: ERROR 999999: Error executing function. The table was not found....

View Article


Raster cacluator in enterprise geodatabase

I have a raster saved in an enterprise geodatabase. I would essentially like to add another raster to this raster, which creates a new raster which is a sum of the 2. Then the next day I will be adding...

View Article


Make Query Table works in Python Window but not as Tool???

Hi, I'm a newbie at coding, so I hope my question is clear. The below code works perfectly when I run it in the Python Window of 10.1. But when I make a tool and attach the script, it runs and...

View Article

Subtracting attributes of different records based on common attribute

I'm not sure if this is the right place to put this question. If not, please let me know. I am trying to find the angle between adjacent lines in a single layer. I plan to accomplish this by...

View Article

Dissolve - python looping

Hi All, I started learning python coding recently. I have hundreds of shape files in a geodatabase. i am dissolving certain fields in each shapefile. For this i am writing a for loop so that it reads...

View Article


Python Add-in tool

Hello, I am working on ArcMap and I would like to display something (a shape or openning a MessageBox) when I click on the map. I need to use "onMouseDownMap()" in python and I need to create a toolbar...

View Article

Problems understanding code aimed at turning layers on/off

Hi I am still relatively new to Python and have trouble understanding lines/parts of certain scripts. I am interested in developing a tool that can turn certain layers off and would appreciate a little...

View Article

Image may be NSFW.
Clik here to view.

Select by location in a loop

Hello everyone. I have a geodatabase stored in an ArcGIS 10.2 WorkGroup SQL. I have two features: The first type point identifying customers from one location and another polygon type that identifies...

View Article


Trying to select an area on an arcmap using a python scripting tool

Hello, What I have a question about is in regards to creating a tool that allows a user to select a specific area of a map. But, I want this tool to allow the user click on the map and form a shape...

View Article


linear fuzzification

Hi everyone I want to build a toolset by using add a script that before I had provided in Pythonwin, this tool normalizes one raster by apply linear fuzzy membership for it. I found that by command...

View Article

Wiegted sum

Hi everyone I want to build a toolset by using add a script that before I had provided in Pythonwin, this tool overlays some rasters by apply Weighted Sum approach. I found that by command...

View Article

Python and related tables

Hi Everyone, I'm relatively new using Python and I can't seem to find any good information on what I'm attempting to do. Thanks in advance if you have any tips. Set up: I have 3 tables; A (spatial) B...

View Article

GPStringHidden not working in python toolbox

Helloo Forum I'm testing the GPStringHidden datatype in a 10.2.0 python toolbox. Just a simply test: creating a GPStringHidden parameter and showing with arcpy.AddMessage the string the user entered...

View Article


'Detecting' vertice/point connections with python

Hi, Does anyone know how to programmatically detect what features a vertice/point is connected to in ArcGIS? My reason for asking this is I am developing a watercourse network and would like to...

View Article

Can anyone tell me what this error means?

I recieve the following message well into the script. Several dtasets have already been saved to this workspace. This is the only place to script fails. dist_Raster_0 also exists in the workspace and...

View Article


Record limit when running Identity tool from PythonWin?

Hi guys, Experienced GIS user here attempting to use PythonWin to run an identity process. I seem to be running into a hard limit in the number of records generated in the output dataset. Here's the...

View Article

Project Raster Error

I'm trying to just do a simple project raster operation using Arcpy. This is a test of a small piece of a larger code. i keep getting the following error: ExecuteError: ERROR 000622: Failed to execute...

View Article


Image may be NSFW.
Clik here to view.

Zooming to a selected feature and exporting an image - extent issues?

Hey there, I'm running into a slight issue when attempting to export images of features within a larger project. I've broken down my example to a much more simplistic example for readability....

View Article

Print a list of SDE datasources

Hi, I am trying to print out a list of SDE datasources used by some MXDs in a folder. I can successfully print out a list of all the datasources, but I am having no luck separating out the sde...

View Article

loop down through a directory tree.

I want to loop through a folder and clip all feature classes by a AOI poly and write the results to an output folder. How to I also have the loop search all subfolders for vectors and raster feature...

View Article
Browsing all 2485 articles
Browse latest View live