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

Image may be NSFW.
Clik here to view.

Python script

Dear Experts, I am new to this forum and want your help to solve my problem. I am using ArcGIS 10 and my problem states as: I have a set of 46 monthly rainfall rasters 1. i want to extract the maximum...

View Article


Image may be NSFW.
Clik here to view.

Python script

Dear Experts, I am new to this forum and want your help to solve my problem. I am using ArcGIS 10 and my problem states as: I have a set of 46 monthly rainfall rasters 1. i want to extract the maximum...

View Article


Sequential Number for a Number Field

I want to update a record with a sequential number. Every time the user adds a record, the sequence attribute increases by 1. So record digitized for the first time has a sequence number of 1, the...

View Article

Making copies of shapefile points with Python

Hey everyone, I have an address point shapefile for buildings in a City. The point shapefile shows only a single point for each building; apartments are listed in a table called additional addresses. I...

View Article

Extract specific strings (more than one) into new fields

Hello: I want to extract strings from a field called "other_tags" using the field calculator. "other_tags" has a lot of unused information and the sting part that I want to extract is always located at...

View Article


Get the OID of a selected record?

I need to have a record selected for the user to enter some attributes, then I need to deselect to calculate a unique id for the record (I only know how to calculate the unique id for all the records...

View Article

Updates only on the selected record?

Hi guys, Is there a way to force the updates to occur only on the selected record? Right now if I don't have something selected all the records are updated when the user enter the parameters. Thanks!!

View Article

calculate the value of a record (an unique id), if the record is selected?

Is there a way to calculate the value of a record (an unique id), if the record is selected? Right now I have something that calculates a sequential unique id but the records have to be unselected....

View Article


To select a record based on the highest value of a field?

Is there a way to select a record based on the highest value of a field? And also is there a way to check if a record is selected based on the highest value before I update a record? Thanks

View Article


Syntax problem: If-Then

Hi, I have a problem with the syntay of python and hope to get some help. In Model Builder I have a table and want to check wether a certain field in the table contains a value or is empty. So I use...

View Article

Writing an equation in Python

Hi, I am new to python, and need some help writing an equation into python. The algorithm calculates the energetic costs of human movement over different terrains. I would like to create a script with...

View Article

Trying to pull parameter out of model into if else script

I have an analysis I will need to preform occassionaly. There are four different rasters I need to process in four different ways. I want one tool, the rasters should not change, and I know the rasters...

View Article

A Way to Automate Adding Links to Attribute Table?

I work in local government and, thus, work with parcel data routinely. I am looking for an automated way to add a link for each parcel in my Geodatabase to the local appraisal district webpage for that...

View Article


arcpy.ExportMetadata_conversion

Hello, Please can somebody provide some advice? I have a text file containing the files i would like to export the metadata from e.g. 'D:\Temp\Cost\10_Kilometers_Buffer.shp' I am trying to loop through...

View Article

Sequential Number?

Does anybody know if it is possible to calculate a sequential number for an attribute for a feature class that has a definition query for just one record selected? Thank you!

View Article


Sequential number based on two other fields?

I need to create an ID that includes the year, county and sequential number. The sequential number or the county makes the id different So if year 2013, county 001 - the sequential number is 001 and...

View Article

Issues with fixing Broken data links

I am having an issue that is I am hoping to get help with. I have a python script (that I run in pythonwin) that looks in multiple directories and sub folders, finds all mxds, goes into each one and...

View Article


How to execute a script tool through a custom desktop vb.net application

Hello, I have a desktop MXD (10.1) with a script tool running a python script. My desktop app has custom vb.net code and I would like to find and execute the script tool programmatically. Any tips or...

View Article

add join failure and attribute table column limit

System: ArcGIS 9.3 and Vista Hello I am using the function add join to combine three shape files into one shape file. (by python script) Each of them has about 650 columns in the attribute table....

View Article

CopyRaster with Error 000732

I am writing some code that will automate the construction of 30 year monthly average gridded climate data in the United States. Recently, I've finished a draft but am tied up in an error that I cannot...

View Article
Browsing all 2485 articles
Browse latest View live