Quantcast
Channel: Forums - Python
Browsing all 2485 articles
Browse latest View live

GIS for Oracle

in my relational data base i have the following table, Tableau: Clim data Region_id --- temperature SD --- 20 SD --- 25 SD --- 30 SD --- 33 SD --- 35 ..... Bi --- 15 Bi --- 19 Bi --- 20 ...... this...

View Article


Python code ERROR 000670

Hi, I'm learning to write scripts and I have now some problem. import arcpy arcpy.env.workspace = "c:/wtyczka/" arcpy.env.overwriteOutput = True outWorkspace = "c:/wtyczka/" #dane Wybor_gminy =...

View Article


Multiprocessing script errors on geoprocessing line of code - INFADI (Missing...

I have written a script that uses pool.map to process multiple netCDF files and store information in a table. Each process runs a function to process one year. Each year has it's own individual file...

View Article

Describe Extent of Raster Outside of ArcMap

Greetings, I'm trying to understand the help files, and I am seeing that using arcpy.Describe(object) applies to layers. What I'm trying to do is loop through a large folder of raster files outside of...

View Article

Saving raster dataset to enterprise gdb

Does anyone know how to save a raster dataset to an enterprise geodatabase. The raster dataset is the output of a geoprocessing service that I want to be able to save to an enterprise gdb. I am...

View Article


Coordinatensystem (tools porjections)

koordinatensystem TOOLS Beitragvon HichamE » vor 14 Minuten Hallo, ich versuche das Problem zu erläutern. Und zwar habe ich generell folgendes Problem: ich habe innerhalb eines Tools einen Parameter...

View Article

[B]get layer selection from webpage and pass to python (for export PDF)[/B]

Hello, I am trying to do a print PDF function on a web application using python. But I could not find how I can get the layer selection (or layer definition) from webpage and pass this parameter to...

View Article

Move to next item in list

I am attempting to utilize a function to save the output of a geoproceessing tool inside a loop. The function iterates thru the list with each iteration of the loop. However if I want to save the...

View Article


Changing field names in python script

Hello All, The short and sweet version is this: I want to: Read the list of fields in a shapefile check for a field starting with "Pri*" If it is not named "Priority", I want to rename them to...

View Article


Error 000824 - Feature to Point

I did post in this discussion forum but felt like this was more of a Question/Answer forum post. ArcGIS for Desktop 10.2.1 Python 2.7 Receiving "Tool is not licensed" error when running this code:...

View Article

Summing but not all attributes during Spatial Join

Hi, I am writing a script that is supposed to output an arithmetic function based on a spatial join of census tracts to a multipart buffer layer. The function requires some census tract features summed...

View Article

Hatch Text Expression Question

I'm trying to label mileposts every tenth of a mile on a highway which starts at milepost 35. While I've figure out how to make hatching every tenth of a mile and add 35 to each hatch, the hatching is...

View Article

How to test feature class for existence of records in a 2nd feature class

I think this should have been easy, but I have spent all day racking my brains... I have 2 feature classes (points). One comes in daily let's say. The other is a accumulation of all the dailies that...

View Article


Image may be NSFW.
Clik here to view.

help filter.list

Hello, I try to explain the problem: I have a tool within a parameter (string) of a Value List with 4 values ​​has (4 different coordinate systems). The tool itself is relatively simple: Input file:...

View Article

Python to export all layers in map to given folder

Hi there , i am a relative novice with Python and have only used Arc for a limited amount of time. At the moment i am trying to learn the basics of python as i would like to automate some workflows.I...

View Article


how to calculate the area of each landuse type for multiple buffers?

I have a landuse polygon shape file, which include 8 types of landuse. From the polygon file, I find 100 points. I make a buffer for each point with 1 km. Now, I want to calculate the area (percentage)...

View Article

Where_clause in arcpy.Select_analysis

Hello to everyone: I have some dificulties to find the correct syntax of the where_clause in a selection process: Both of this two possibilies give me an error. wheresatz='"CLAVE"='+nummapa...

View Article


List of fields

Hallo! I need to check if a feature class includes a field called 'unwanted_field' and then delete it. I've been trying to accomplish that with an if statement on a field list gained by the...

View Article

legend.removeItem error

Hello, I use a python script in arccatalog that creates an mxd, adds a layer, updates it's symbology, and then tries to remove it from the legend. The error I receive is Traceback (most recent call...

View Article

Adding messaging to Python Add-in

I recently created a Python add-in that completes several gp tasks for a user. The issue is that when the user presses a button on a toolbar to execute the task, nothing displays saying that processing...

View Article
Browsing all 2485 articles
Browse latest View live