Quantcast
Channel: Forums - Python
Browsing index pages (2485 articles)
↧

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 Article


how 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 Article


Getting 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 Article

Image may be NSFW.
Clik here to view.

Bisect 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 Article

Help 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 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

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

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


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


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

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

'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

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


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

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


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

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


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

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

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
Browsing index pages (2485 articles)


Latest Images