Skip to main content

All Questions

Tagged with
2 votes
0 answers
135 views

Editing ESRI Python Toolbox in Spyder With Syntax Checking

When working with an ESRI Python Toolbox it would be helpful if Spyder's editor window recognized .pyt files. My current workaround (to use syntax-checking) involves using a temporary .py file, opened ...
Kenneth Eggering's user avatar
0 votes
1 answer
456 views

Defining field values using an other fields values Esri Arcmap

I´m using arcMap, Esri. I have a polyline layer with information in text which I need to convert to number values. I want accomplish this using scripting with Python in the Field calculator. My ...
Nedim's user avatar
  • 23
2 votes
2 answers
2k views

ArcMap Python Field Calculator does not work the same as Python

I am trying to use the python field calculator in ArcMap to do a simple calculation, where: there are two input variables, the numerator and the denominator if the numerator is zero a zero is ...
Andrew K's user avatar
-1 votes
1 answer
184 views

Problems changing value of a text element in Esri Arcmap

I have a mxd file to print a report, it has a map and text elements, I'm trying to change a value of text element but I'm not able to do it. this is the code: import arcpy import os import datetime ...
Octavio Cárdenas's user avatar
1 vote
0 answers
53 views

Find lowest elevation point for each of 5,000 parcels

I have two data layers: a LiDAR elevation data layer for a 10 square mile area and a second layer with polygons for each parcel in that area. Is there a way to use GIS to loop through each parcel and ...
user3786999's user avatar
  • 1,127
0 votes
1 answer
180 views

python- Feature class attribute manipulation

Is there a way to remove all attributes from a feature class and then add new ones from an existing feature class? I have an application that is directed to a specific path, however the data it ...
LCaraway's user avatar
  • 1,357
1 vote
2 answers
2k views

Raster to polygon script loop failing!! error 99999!

I am trying to make a script which selects every .png file in a folder beginning with the letters "LG". I then want the scipt create a shapefile, replacing the "LG" with "SH", and then i want the ...
Alice Duff's user avatar
2 votes
1 answer
1k views

Network analysis and adjacency matrices

I want to try and create a network for several hundred shapefiles that consist of polylines. The polylines are snapped to each other and consistent. Then I want to create an adjacency matrix for this ...
womble's user avatar
  • 683