Go To Archived Forums
+ Post New Thread
Page 1 of 45 1 2 3 11 ... LastLast
Threads 1 to 50 of 2241

Forum: Python

  1. This Q&A thread has not been answered Sticky Thread Sticky: ArcPy Geoprocessor OMD v10 - Unofficial

    this is NOT the "official" arcpy OMD, it is just a photoshoped version with the new arcpy wording. It is helpful is you want a arcpy OMD to put up on...

    Started by rdg129‎, 02-16-2012 08:28 AM
    • Replies: 3
    • Views: 1,380
    02-17-2012, 06:23 AM Go to last post
  2. This Q&A thread has been answered Sticky Thread Sticky: Please read: How to post Python code

    It seems some folks are finding it difficult to post code in the forum. This is especially important with Python scripts, as indentation is part of...

    Started by curtvprice‎, 01-24-2012 01:55 PM
    format, posting, python View this thread's RSS feed
    • Replies: 3
    • Views: 983
    01-25-2012, 09:10 AM Go to last post
  1. This Q&A thread has not been answered arcpy.AddMessage not working in python window

    Hello all this's a very frustrating problem: the addMessage function is not working for me in the Python Window. It works in a toolbox message...

    Started by jesdial‎, Yesterday 03:17 PM
    View this thread's RSS feed
    • Replies: 6
    • Views: 62
    Today, 02:24 PM Go to last post
  2. This Q&A thread has not been answered Select By Location on a large SDE featureclass

    I have looked around and have not found any solution to this problem. I am writing a GP tool that will allow the user to define a point by clicking...

    Started by wmarcell‎, Today 01:57 PM
    copy features, make feature layer, python arcpy, sde, select by location View this thread's RSS feed
    • Replies: 0
    • Views: 19
    Today, 01:57 PM Go to last post
  3. This Q&A thread has not been answered Label Expression

    Hi All, Just want to change the label on a layer called "Polls" from the following: to the following:

    Started by jmadero‎, Today 11:46 AM
    View this thread's RSS feed
    • Replies: 1
    • Views: 45
    Today, 01:11 PM Go to last post
  4. This Q&A thread has not been answered Finding Duplicates

    Hey folks, I don't mean to beat a dead horse being that i have seen this discussed before, but here is my issue. I am having to merge two sets of...

    Started by boothy443‎, 05-03-2012 10:08 AM
    arcgis, duplicate records, python View this thread's RSS feed
    • Replies: 5
    • Views: 132
    Today, 01:11 PM Go to last post
  5. This Q&A thread has not been answered Selecting files from multiple folders

    I haven't played in Python for almost two years so I'm very rusty. I'm definitely not saying I was all that good at it then. I could use some help...

    Started by justgis‎, Today 08:19 AM
    export, loop, save View this thread's RSS feed
    • Replies: 6
    • Views: 55
    Today, 11:28 AM Go to last post
  6. This Q&A thread has not been answered Problem with Importing Exchange files while using an infile loop

    Hi! I have a python script that's supposed to walk through a directory and convert any e00 files, while renaming them with a date/time stamp. The...

    Started by ben_sloboda‎, Today 09:37 AM
    View this thread's RSS feed
    • Replies: 2
    • Views: 31
    Today, 11:24 AM Go to last post
  7. This Q&A thread has not been answered Syntax Error

    I'm getting the following error with my code which is generated in excel using a VB script. I am really confused as to what's triggering it: ...

    Started by jmadero‎, Today 10:43 AM
    View this thread's RSS feed
    • Replies: 2
    • Views: 30
    Today, 11:13 AM Go to last post
  8. This Q&A thread has not been answered ArcPy - add multiple shapefiles with for loop

    I have a folder that contains a few dozen shapefiles. I want to create a script that adds all of these files to the current map document. The...

    Started by zackb11‎, 02-10-2012 11:50 AM
    addlayer, for loop, loop, python, shapefile View this thread's RSS feed
    • Replies: 10
    • Views: 355
    Today, 10:33 AM Go to last post
  9. This Q&A thread has not been answered Can arcpy.Eliminate_management cause memory leak?

    Hi, My python code needs to do eliminate many times. After around 1000 times, my code stoped with an error "out of memory". I am curious if...

    Started by sailitang‎, Today 10:06 AM
    View this thread's RSS feed
    • Replies: 1
    • Views: 23
    Today, 10:13 AM Go to last post
  10. This Q&A thread has not been answered Use python to apply a definition query to an existing Layerfile.

    I will start with I know nothing about python, other than I need it now. I have created a simple model that uploads a xyz file to a sql table with a...

    Started by mapman666‎, Yesterday 03:12 AM
    • Replies: 6
    • Views: 80
    Today, 08:38 AM Go to last post
  11. This Q&A thread has not been answered Zoom Dependent on If Point is Within Frame

    Hi All, At the last stages of this script I'm writing and this is just one of those "would be nice to have" options. Situation is that I have...

    Started by jmadero‎, Today 06:54 AM
    View this thread's RSS feed
    • Replies: 4
    • Views: 38
    Today, 08:20 AM Go to last post
  12. This Q&A thread has not been answered Get vertices of a graphic polygon

    I wish to sketch a polygon (graphic drawing) on the screen, and then get the vertices of that polygon into a table for use as input in a different...

    Started by jimcousins‎, Today 07:24 AM
    drawing tool, vertices View this thread's RSS feed
    • Replies: 1
    • Views: 26
    Today, 08:14 AM Go to last post
  13. This Q&A thread has been answered Stopping/Starting ArcGIS services using Python

    I am trying to find a way to start and stop a service in python so I can automate some updates. I have found the the agssom.exe script in Arcscripts....

    Started by jnettle1‎, Today 06:28 AM
    arcgis server, python, services View this thread's RSS feed
    • Replies: 4
    • Views: 40
    Today, 07:46 AM Go to last post
  14. This Q&A thread has not been answered Changing SDE Data Sources

    I have hundreds of mxd's with broken links due to migration to a different SDE server. I know how to change to the new SDE connection using the...

    Started by johnjmax‎, Today 07:38 AM
    View this thread's RSS feed
    • Replies: 0
    • Views: 22
    Today, 07:38 AM Go to last post
  15. This Q&A thread has not been answered Wrong results from CheckOutExtension?

    Am I doing something wrong here? I'm just trying to check out the spatial analyst extension, but arcpy.CheckOutExtension("Spatial") insists it is...

    Started by dirgles‎, 04-16-2012 07:01 AM
    View this thread's RSS feed
    • Replies: 4
    • Views: 91
    Today, 07:23 AM Go to last post
  16. This Q&A thread has not been answered Dynamic Text Based on Variable?

    I guess this question is two fold: 1. Is there a way to make dynamic text that is based on a variable? 2. If so how do I do it and set the...

    Started by jmadero‎, 05-14-2012 02:35 PM
    View this thread's RSS feed
    • Replies: 9
    • Views: 96
    Today, 07:22 AM Go to last post
  17. This Q&A thread has not been answered Move SHP to gdb and ArcView license (newbie frustration)!!!

    Hi there, What I need to do is move all the files into an mxd to a newly created gdb, chechking prj, and update mxd reference. I have ArcGIS 10...

    Started by lucamoiana‎, 04-11-2012 07:58 AM
    2 Pages
    1 2
    View this thread's RSS feed
    • Replies: 54
    • Views: 424
    Today, 06:36 AM Go to last post
  18. This Q&A thread has not been answered name is not defined for query

    System: ArcGIS 9.3 Problem: I tried to calculate the latitude of north and south limit of polygons specified as S in a shapefiles. The...

    Started by Helenak‎, Yesterday 02:52 PM
    query, select_analysis View this thread's RSS feed
    • Replies: 1
    • Views: 33
    Today, 05:47 AM Go to last post
  19. This Q&A thread has been answered latitude of north and south boundaries of polygons

    Hello, I have some polygon shapefiels. Each of them are composed of more than one polygon. I would like to ask how to get 1. the latitude...

    Started by Helenak‎, 05-10-2012 05:03 PM
    • Replies: 10
    • Views: 104
    Yesterday, 01:40 PM Go to last post
  20. This Q&A thread has not been answered Spatial Join does not work in scheduled task

    Howdy All, I have a python script that will work fine if I run it directily from PythonWin or double click on it when in Windows Explorer but when...

    Started by mrankin‎, Yesterday 09:18 AM
    • Replies: 3
    • Views: 40
    Yesterday, 01:36 PM Go to last post
  21. This Q&A thread has not been answered How to set 2 workspace environments?

    I was writing a code to compare the fields within some feature classes that are in 2 seperate geodatabases. The geodatabses contain the same feature...

    Started by BrokenLegMike‎, 05-14-2012 09:04 AM
    View this thread's RSS feed
    • Replies: 2
    • Views: 52
    Yesterday, 09:57 AM Go to last post
  22. This Q&A thread has not been answered Is there a easy way to Export a MXD with a lot of SDE connections?

    I have a simple script that exports a map to a JPEG. Here is the meat of it: print "generating ouput of " + mxdPath mxd =...

    Started by Raistlin1807‎, Yesterday 09:42 AM
    View this thread's RSS feed
    • Replies: 0
    • Views: 26
    Yesterday, 09:42 AM Go to last post
  23. This Q&A thread has been answered Save To Layer File Documentation error

    There is an error in the documentation for Save To Layer File (Data Management): The stand-alone Python script has the following offending code: ...

    Started by Cyrillem‎, 05-14-2012 03:18 AM
    arcpy, documentation, error, python View this thread's RSS feed
    • Replies: 1
    • Views: 39
    Yesterday, 08:49 AM Go to last post
  24. This Q&A thread has not been answered [SOLVED] Print Current Map

    Hi All, Googled around and again failing to find adequate documentation. All I want is to print current map. I see this: arcpy.mapping.PrintMap...

    Started by jmadero‎, 05-14-2012 02:50 PM
    View this thread's RSS feed
    • Replies: 2
    • Views: 58
    Yesterday, 06:56 AM Go to last post
  25. This Q&A thread has been answered gp.project not working with shorthand of prj

    System ArcGIS 9.3 Problem I tried to project using shorthand of 1984 prj. However, it failed and said ERROR 999999: Error executing...

    Started by Helenak‎, 05-14-2012 02:00 PM
    project, python View this thread's RSS feed
    • Replies: 3
    • Views: 37
    Yesterday, 06:34 AM Go to last post
  26. This Q&A thread has not been answered IOError, file not open for reading

    Hi, I have a nifty script for deduplicating coordinates (not made it myself, a redditor helped me). However, I would like to get it to work with...

    Started by nilsh84‎, Yesterday 05:26 AM
    arcpy, python View this thread's RSS feed
    • Replies: 0
    • Views: 29
    Yesterday, 05:26 AM Go to last post
  27. This is a discussion thread ArcMap 10.1/Python 2.7 problem

    Not sure if this is a Python problem or an ArcMap10.1(arcpy) issue. I have a script I run once a month and it has been running fine for months. ...

    Started by ScottB‎, 05-14-2012 09:04 AM
    View this thread's RSS feed
    • Replies: 2
    • Views: 53
    Yesterday, 05:15 AM Go to last post
  28. This Q&A thread has not been answered [SOLVED] Zoom to Layer (Not Zoom to Selected Feature)

    Is there a way to zoom to layer instead of zoom to selected feature. The zoom to selected feature works for me but it's so much slower than just...

    Started by jmadero‎, 05-14-2012 02:08 PM
    View this thread's RSS feed
    • Replies: 2
    • Views: 38
    05-14-2012, 02:32 PM Go to last post
  29. This Q&A thread has not been answered SelectLayerByAttribute nto working inside a loop

    Hi everyone, (system is 9.3.1) I am trying to create a script that takes in LiDAR, .las files, calculates the heights from the ground, and returns...

    Started by ntd14‎, 05-13-2012 06:24 PM
    View this thread's RSS feed
    • Replies: 2
    • Views: 44
    05-14-2012, 02:18 PM Go to last post
  30. This Q&A thread has not been answered code "batch projection" not work

    System ArcGIS 9.3 Problem The code "batch projection" was used in the code below but did not work. Please kindly advise modification and thanks....

    Started by Helenak‎, 05-08-2012 02:45 PM
    View this thread's RSS feed
    • Replies: 2
    • Views: 51
    05-14-2012, 02:05 PM Go to last post
  31. This Q&A thread has not been answered display polygons according to different string in one field

    System ArcGIS 9.3 I have some polygon shapefiles. Each of them has a field C****. (such as C8745, C1276, and C3498) The field has strings such...

    Started by Helenak‎, 05-14-2012 01:31 PM
    field, polygon View this thread's RSS feed
    • Replies: 0
    • Views: 25
    05-14-2012, 01:31 PM Go to last post
  32. This Q&A thread has been answered Using Cursors and a dictionary to sum numerical values and populate a new field

    I am trying to populate a field with the sum of the acres of another field. I only need to sum the acres when the listing number appears more than...

    Started by tkokenge‎, 05-14-2012 11:07 AM
    cursor, dictionary, number, sum View this thread's RSS feed
    • Replies: 2
    • Views: 40
    05-14-2012, 01:10 PM Go to last post
  33. This Q&A thread has not been answered Basic Query Functions

    Hi All, I just want something really basic, how do I query using python. My layer is called Consolidations, I want to query where field "Cons" is...

    Started by jmadero‎, 05-10-2012 11:47 AM
    View this thread's RSS feed
    • Replies: 7
    • Views: 119
    05-14-2012, 12:27 PM Go to last post
  34. This Q&A thread has not been answered Phyton script fails to work through Windows 7 Task Scheduler

    I am having difficulty making a Phyton script work through Windows 7 Task Scheduler. I created a Model and exported the Model to Python and then...

    Started by charlesfox123‎, 05-14-2012 06:16 AM
    View this thread's RSS feed
    • Replies: 8
    • Views: 72
    05-14-2012, 12:13 PM Go to last post
  35. This Q&A thread has been answered Append_management and data within a list

    Hello all, I have a KML file that I've parsed through to obtain some values that get returned as a list. I need this list to append into a table,...

    Started by jmkolbow‎, 05-11-2012 10:57 AM
    • Replies: 3
    • Views: 46
    05-14-2012, 11:56 AM Go to last post
  36. This Q&A thread has not been answered problems with layer.findAndReplaceWorkspacePath

    I have a bunch of .lyr files that point to a directory that's been moved. I'm trying to programmatically re-link them to the new location...

    Started by jhchan69‎, 05-11-2012 10:34 AM
    View this thread's RSS feed
    • Replies: 3
    • Views: 43
    05-14-2012, 08:31 AM Go to last post
  37. This Q&A thread has not been answered Trouble using script/tool outside ArcMap

    Hello - I've been trying to execute a small script from outside an ArcMap session - simply adding a layer and refreshing symbology, and nothing...

    Started by kyanuk1‎, 05-14-2012 07:57 AM
    addlayer, open document, outside map, python window, startfile View this thread's RSS feed
    • Replies: 0
    • Views: 31
    05-14-2012, 07:57 AM Go to last post
  38. This Q&A thread has been answered AssertionError: Invalid MXD filename...why?

    Hi, I have a simple script for batch exporting .mxds to .PNG: import arcpy, os ws = arcpy.env.workspace =...

    Started by rgthurau‎, 05-14-2012 07:29 AM
    View this thread's RSS feed
    • Replies: 2
    • Views: 26
    05-14-2012, 07:41 AM Go to last post
  39. This Q&A thread has not been answered ApplySymbologyFromLayer2

    Hi, here the whole code from a beginner. Nothing happens when I open ArcMap. The symbology from the input layer did not changed. Thanks! import...

    Started by Pedroso1971‎, 05-12-2012 09:38 AM
    View this thread's RSS feed
    • Replies: 1
    • Views: 38
    05-14-2012, 07:21 AM Go to last post
  40. This Q&A thread has not been answered ApplySymbologyFromLayer

    Dear all, I wrote this peace of code, and it doesn't work. When I open ArcMap there is no symbology active for the inputLayer. What to do? Regards ...

    Started by Pedroso1971‎, 05-12-2012 08:51 AM
    View this thread's RSS feed
    • Replies: 1
    • Views: 41
    05-14-2012, 07:18 AM Go to last post
  41. This Q&A thread has not been answered Syntax Error When Attempting to Add Custom Toolbox to Python Script

    I am trying to add a custom toolbox to a python script. Seems like a pretty simple coding exercise, but I am getting an incorrect syntax error. ...

    Started by JDAdams‎, 05-14-2012 05:29 AM
    View this thread's RSS feed
    • Replies: 4
    • Views: 37
    05-14-2012, 06:24 AM Go to last post
  42. This Q&A thread has not been answered order of ops-Append,next,Tabletogeodatabase=N: TabletoGeodatabase,next, Append=y ??

    I have a situation that bewilders me. Here is an excerpt of the script in question: ... for ds in DSs: FCs =...

    Started by turnerkyle‎, 05-09-2012 11:43 PM
    View this thread's RSS feed
    • Replies: 1
    • Views: 40
    05-14-2012, 06:15 AM Go to last post
  43. This Q&A thread has not been answered arcpy.GetArgumentCount() doesn’t count the correct number of arguments passed.

    I have a script that works perfect in python, but isn’t working correctly as a script tool in ArcCatalog. I have 3 arcpy.GetParameterAsText...

    Started by hig1824‎, 05-02-2012 04:07 PM
    View this thread's RSS feed
    • Replies: 3
    • Views: 82
    05-13-2012, 06:37 PM Go to last post
  44. This is a discussion thread Shapefile to Sql Server export

    I need to schedule a script every week to export my shapefile and replace the corresponding SQL Server spatial data. I created the Spatial ETL tool,...

    Started by ShwetaM‎, 05-10-2012 07:19 PM
    • Replies: 2
    • Views: 57
    05-13-2012, 02:42 PM Go to last post
  45. This Q&A thread has not been answered Topo To Raster Error?

    Hey All, Below is a block of code and the error generated. Can some please tell me what the issue is? I use Topo To Raster in other code...

    Started by chagan02‎, 05-13-2012 03:38 AM
    View this thread's RSS feed
    • Replies: 1
    • Views: 31
    05-13-2012, 06:45 AM Go to last post
  46. This Q&A thread has not been answered PEP 8 style guide

    Hi! I've been asking for criticism on my arcpy scripts by experienced Python programmers, and they all say arcpy needs to adhere to the PEP 8...

    Started by dwaynie‎, 05-11-2012 11:27 PM
    View this thread's RSS feed
    • Replies: 1
    • Views: 60
    05-13-2012, 01:58 AM Go to last post
  47. This Q&A thread has not been answered Ruby support

    Hello! In my humble opinion, Ruby is way more beautiful than Python. Is there any chance ArcGIS will support it in the time to come? Many...

    Started by dwaynie‎, 05-11-2012 11:46 PM
    1 Deleted Post(s) View this thread's RSS feed
    • Replies: 4
    • Views: 80
    05-13-2012, 01:49 AM Go to last post
  48. This Q&A thread has not been answered Check fields in append tool before delate data?

    I try to do a script that delate all data, then append new data in sde. I am looking for something that will check correctness of fields before...

    Started by tlomiej1‎, 05-13-2012 01:38 AM
    append, field inspections, field inspector, fields, sde View this thread's RSS feed
    • Replies: 0
    • Views: 23
    05-13-2012, 01:38 AM Go to last post
  49. This Q&A thread has not been answered I can't connect to arcsde geodatabase

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

    Started by topo_geo‎, 05-12-2012 01:00 PM
    View this thread's RSS feed
    • Replies: 0
    • Views: 38
    05-12-2012, 01:00 PM Go to last post
  50. This Q&A thread has been answered no message for addMessage

    System ArcGIS 9.3 Problem 1: No message jumped out when finishing running addMessage in the code below. Please kindly advise any modification to...

    Started by Helenak‎, 05-11-2012 03:05 PM
    addmessage, python View this thread's RSS feed
    • Replies: 1
    • Views: 39
    05-12-2012, 10:54 AM Go to last post

+ Post New Thread
Page 1 of 45 1 2 3 11 ... LastLast

Thread Display Options

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.

Icon Legend

Contains unread posts
Contains unread posts
Contains no unread posts
Contains no unread posts
More than 25 replies or 300 views
Hot thread with unread posts
More than 25 replies or 300 views
Hot thread with no unread posts
Closed Thread
Thread is closed
Thread Contains a Message Written By You
You have posted in this thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts