Skip to main content

All Questions

Tagged with
0 votes
2 answers
91 views

How can I use for loop in the input file and in the output file names?

arcpy.management.FeatureToPoint("Spatial_Join_1", r"C:\Users\moh22006\Desktop\ARCGIS\ArcGIS\ArcGIS\Projects\MyProject100\MyProject14.gdb\Spatial_Join_Point_1", "CENTROID")...
Hanif's user avatar
  • 1
0 votes
0 answers
49 views

python 2.7 image error in tkinter library

I use python 2.7 to create a graphical interface with Tkinter (for an arcgis script) but when I want to load wallpaper in the interface, it gives me the error "_tkinter.TclError: could not ...
Robert Mihai Nicolescu's user avatar
-3 votes
1 answer
177 views

Export from .tif to .tif with another CRS

I write a code in python for processing some .tif files and put them to WGS 1984 Coordinate System. The problem is, when I run the code, it gave's me error and stop executing. I try to do this with ...
Robert Mihai Nicolescu's user avatar
-1 votes
1 answer
167 views

Cannot generate subsets of feature class with arcpy (ArcGIS library in Python 2.7)

I'm having a hard time here on processing GIS data in Python, using library ArcPy. I've been trying to generate independent features from a feature class based on a field of the attribute table which ...
caio.valente14's user avatar
0 votes
2 answers
752 views

ArcMap Python Code that Loops Clip (Data Management) Crashes ArcMap

I wrote a code to clip a raster using a bunch of shapefiles. It all works up to the clip function, at which point it crashes ArcMap to desktop without an error message. My code is as follows: import ...
Relo Kai's user avatar
0 votes
2 answers
616 views

Issues with python path

I am working on a program in Arcgis however, I have a python issue. While trying to run the following script I am getting an invalid MXD error which seems to suggest that it cannot find the location ...
Niana 's user avatar
  • 1,047
0 votes
0 answers
180 views

find overlapping features in one feature class

I am attempting to identify overlapping features in one feature class. As a Searchcursor this code works fine, but when I convert to an update cursor I get "StopIteration: iteration not started" error ...
spatialissues's user avatar
0 votes
1 answer
1k views

Create NetworkX weighted Graph based on vertices location

I have edge information organised in a way that shows the edge's location within a regular-type Graph; where a regular graph is defined as one that looks like a "checker-board". Here is an example of ...
Zach's user avatar
  • 35
0 votes
2 answers
2k views

Restart python script after arcpy error, until successful

I'm using the arcpy module of ArcGIS in Python (2.7) to process many polygon shapefiles, using many different tools. Every so often it will throw a random error, which I catch with an exception but ...
rasenior's user avatar
1 vote
0 answers
1k views

how to install pip in ArcGIS-installed Python 2.7

i want to install pip in ArcGIS-installed Python 2.7, so i go to http://pip.readthedocs.org/en/latest/installing.html, download the get-pip.py file and place it in my python folder, C:\Python27\...
Yanglan Wang's user avatar
-1 votes
1 answer
335 views

ArcGIS polyline file How to update column in attribute table

I have three columns Before update from node to node gridcode 2 3 8 3 2 9 7 2 5 After update, I want "node column" to be same as ...
Wis786's user avatar
  • 53
5 votes
3 answers
10k views

Checking a checkBox in .docx form with Python using docx module

I am attempting to fill out a word document form with Python 2.7's docx module. I can modify text elements just fine but I am having difficulty figuring out how to check a yes or no checkbox. How do ...
PMK's user avatar
  • 297
-2 votes
1 answer
655 views

For and While Loop to extract a portion of a string [closed]

I am having issues extracting numbers from a string to create a new field using field calculator in ArcGIS. The values being extracted have to remain as a string. The issue that I am having is that ...
Husters's user avatar
-1 votes
1 answer
417 views

How to know when a program finished when they run in background?

I'm using ArcGIS 10.2 to create an interface. I'm using Python 2.7 to call and run Gams in background using import subprocess subprocess.check_call([r"C:\GAMS\win64\24.4\gamside.exe",r"C:\Users\sofia\...
Sofia Raimundo's user avatar
1 vote
1 answer
5k views

How do you copy feature classes into a new geodatabase in ArcGIS/Python?

I am trying to copy feature classes from a folder into a new geodatabase, but none of the files will copy into the new geodatabase. Why are they not copying through? import arcpy from arcpy import ...
Rhizoqueer's user avatar

15 30 50 per page