Create service zones with python
I would like to create service zones for a given county, (1) The zone boundaries should be developed based on natural breaks, such as rivers, ridges, and undeveloped areas. (2) These zone should be...
View Articlehow to split a polyline into equal segments with python
I am trying to split a road (a line feature) into equal size segment. I know there is a way to do it in ArcGIS (editor-split), but this can not be coded with python script. Is there anyone can help me...
View ArticleGetting join info with Arcpy
Has anyone been able to get join info from a layer using Arcpy without using ArcObjects? I am trying to find the target table and field, the join table and field, and the join type.
View ArticleBisect Polygon w/ Arcpy
Attachment 35043 How might I bisect the attached polygon in a NE/SW direction using arcpy? Looking for a line feature class as output also. Any suggestions? Attached Thumbnails
View ArticleHelp with script!?
I have a simple script that gets all layers in a gdb and uses them to clip a DEM. What's happening though is it starts the clipping but never finishes and after killing the process I am unable to...
View Articleloop 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 ArticlePrint 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 ArticleZooming 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 ArticleProject 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 ArticleRecord 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 ArticleCan 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'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 ArticleGPStringHidden 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 ArticlePython 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 ArticleWiegted 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 Articlelinear 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 ArticleTrying 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 ArticleSelect 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 ArticleProblems 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 ArticlePython 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