Please try to post code in code blocks in the forums. This is especially important with Python scripts, as indentation is part of the syntax! ...
From the description of this item on ArcGIS Online: "This is a diagram generated automatically by a Python script that inspects the contents of...
Have both the streams and schools layers in my active arcmap session. I am using arcmap's Python window to run this script in a python tutorial that...
I have created a Geodatabase backup script for my sql geodatabase. Everything runs fine, except for it creates duplicates and adds a 1, 2 ,3 onto the...
I am working on scripting our GIS data update process for our CAD (911 Dispatch) software. The road centerline is geocoded with left and right...
Hi, I am trying to append a feature class from fgdb to sde geodatabase. I created the model builder with append tool, everything working...
Exporting multiple maps as images at a time, I wanted to export 12 maps at a time such that only 2 layers are turned on: the layer of lines and...
Hi guys, I am trying to learn more about publishing webmaps with geoprocessing services. I followed a tutorial to create high-quality webmaps: ...
All, I am trying to populate a Values List in a tool from selected features. I have 2 feature classes (Counties and Places). I am trying to...
I have a large university dataset of handicap routes. I am trying to create separate routes and directions for every possible combination of start...
I can't seem to understand the following behaviour: mxd = ur'G:\MapImageCreator\ImageTaker.mxd' print os.getcwd() #...
I have a field called direction that contains values such as 319.135, I want to separate the contents of the field into 2 different fields such that...
hello, Im trying to find/write a simple code line that will get the value from a specific row and columm (field name). - I only have one table. I...
Hi All, The situation: 1 FC / 3 related columns / definitionQuery on one field has ' as part of field name for only some records which is...
I have a Python toolbox custom tool that exports maps from a template MXD, and one of the geoprocessing tools I'm using in the custom tool is Feature...
Labeling specific comments I was wondering if this can only be achieved by using Python. I have polygons that I need to label. The expression...
The 'Export to Excel' model tool mentioned here:...
I am getting some strange behavior with any Python Add-In tool that I deploy. I only noticed this because I have a tool that reports map x/y values...
Hi guys, Just a quick question as i've been having trouble with my python script that I"ve been trying to implement. The issue here is that...
Hi everyone, I have this really simple Python script, that basically copies a file: import os, shutil, time originalSDDraft =...
Hello, I'm wanting to create a script to convert the text in a selected text box to all caps...I know how to cycle through all TextElements /...
Hi, any help is welcome… I need to split some lines where it intersects with points. I used the Split Lines at Points but the output is not what I...
For the purposes of discussion, building a Topology is not an option, otherwise this exercise would be easy. I am performing the same Select By...
i got the this error message. what's wrong to me? Traceback (most recent call last): File "C:/Users/Administrator/Desktop/arcpy/convert",...
I wrote simple python code to do zonal statistics. My zonal input is a shapefile with a grid of equal-sized polygons. My input values are a raster...
I make many small changes to the code in my Python Toolbox on a daily basis, and therefore often refresh the toolbox to solidify the changes before...
Is it possible to add a new Text Element to a layout view? I am building a new Python Add-In and this ArcObjects developer is getting frustrated...
I'm making a custom tool that will allow the user to make many different changes to the fields of a chosen feature class or shapefile. Part of my...
The “TypeError: GPToolDialog() takes at most 1 argument (2 given)” is a very misleading message and is a bug (NIM089253) This process helped me get...
I'm again at work on some legacy code, and I'm stumpled on why one bit is not working as I'd expect. Here is the code snippet: def...
Hello, I have written a script in which I am telnetting from system1 to system2. There from system2 I am doing ssh to system3. This system3 is...
I have a simple python script that calculates the slope of the raster (DTM). I would like to publish this functionality as a geprocessing service on...
I want to proceed zonal at the one time. so i completed! BUT!! result,, value is SAME! T.T...... how can i do it? # Import arcpy module...
Hi, now, i use only single zonal statistics module. but i want to multiple zonal tool. # Import arcpy module import arcpy, os from...
hello averyone. i have an application in arcmap, in which point locations are added in arcmap thruogh geoprocessing model, which is customized as...
I've created a basic add-in toolbar using Python. It compiled fine, installed OK but now I can't start ArcMap, ArcCatalog etc- It loads the splash...
Just wondering if anyone has had any trouble with using a query expression with arcpy.da.searchcursor? I've used this successfully many time but I...
My world: Win7, ArcGIS 10.0 SP1, Python 2.6.5 I am attempting to update a group layer file with new data source locations (FGDB moved from one...
I'm attempting to implement some of the functionality found here: http://support.esri.com/en/knowledgebase/techarticles/detail/40730 I need to...
Hello All, I am new to Python and generally struggle with even simple scripts. I have a list of images in different directories. I want to...
I am trying to add a layer to the table of contents. In other words I want to be able to open ArcMap, open a toolbox I created and run a script that...
I have had a lot of success feeding variables into data paths for all other geoprocessing tools (this needs to be in the design so the script can be...
Hello I have a little problem with an ArcGIS script. The script transforms a polygon into his vertex points and save this into the txt file. My...
Hi, everybody! I have some feature classes in my geodatabase, including: 1 neighbourhood point \ each shopping center entrance points \ road...
Hi, I've been frustrated to connect to ArcSDE in ArcGIS 10.1 (windows 7 o.s.) I've been following the document & help supply connection...
Hi Guys, I have a feature class with a blob field designed to hold images uploaded by users. Is it possible to populate the blob field...
Hi all, I've got a question and hope someone can help me. I've got two dbase (.dbf) which are looking like this: dbase 1: ID usage ...
Hello, I am following ESRI Documentation link 'http://resources.arcgis.com/en/help/main/10.1/index.html#//018w00000021000000' to print the details...
I saw a neat example this morning of Python decorators that made me think: could this be a nice way to set up a script tool interface for functions?...
hello good morning i have a problem to connect to an arcsde geodatabase with python and i need help please i use arcsde for single use (trial...
Use this control to limit the display of threads to those newer than the specified time frame.
Allows you to choose the data by which the thread list will be sorted.
Order threads in...
Note: when sorting by date, 'descending order' will show the newest results first.
Forum Rules