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

insert DMS coordinates in python tool

Dear friends, I want to make a simple tool where one could insert DMS coordinates and the tool would generate a point shapefile containing one point at the specified coordinates. For the tool I have...

View Article


Identify the reference scale of an annotation class with ArcPy ?

Hi Everyone, I would like to retrieve the value of an annotation feature class reference scale using ArcPy (under ArcGIS 10.1). I cannot find where this property is stored (tried to access using the...

View Article


Can ARCGIS generate python code and if so how does it work?

Like the "macro recorder" of Excel, can all your manual actions in ArcMap data view be instantly translated in Python commands? If so, how does it work. Honestly, I don't know where to start. I don't...

View Article

Will a python script help me automate data generation?

Hello, Thanks for taking the time to read my post. I have absolutely no knowledge about Python, and I did not find an answer to my question using the search function. My question concerns generating...

View Article

arcpy.Project_management ERROR

Hello, we are trying to run the following Python script. It is almost the same as "Beispiel 1" in this help: http://help.arcgis.com/de/arcgisdesk...0000007m000000 The only differences are our input and...

View Article


Pythron wrapping VBA for non-VB access

All, I am jumping into coding and interface development. We are looking to develop an interface that allows non GIS-aware users to perform queries in the GIS using a simple one button and drop down...

View Article

Script for bulk processing og JP2 to geoTIFF format

Hello All, I have used (and am still using) python to bulk process imagery. I would like to convert JPEG2000 images (historic aerials) to geoTIFF format. What would be the command line? Any examples...

View Article

How to edit a feature class used in a Feature Service via Python?

Hello, I'm experimenting around a bit with ArcGIS for Server and I have a feature class that I'd like to edit with a python script. The catch is that this feature class is the basis for a Feature...

View Article


Image may be NSFW.
Clik here to view.

RASTER CELL X/Y VALUES

Hi, I'm trying to calculate the area of multiple rasters on a cell by cell basis, that is from decimal degrees to square meters. I've put together an equation that calculates that (see attachment) but...

View Article


Create multiple graphs from large geodatabase table

Greetings I have a rather large project I am trying to do and I hope I can get Python to do it for me. I have a file geodatabase table called "SERVICE METERS DEMAND" which is basically composed of the...

View Article

Does time-enabling Mosaic Datasets work from Python?

Has anyone successfully enabled the time functionality on a mosaic dataset using the "use_time" argument for SetMosaicDatasetProperties_management? It seems that the resampling_type argument is taking...

View Article

Field calc across join to table view

Why doesn't this work?! I'm going nuts! addrTbl = r'Database Connections\Connection to blah.sde\blah.dbo.addr' parcelTbl = r'Database Connections\Connection to blah.sde\blah.dbo.parcel'...

View Article

Reference the path to a file that is in a current edit session

Greetings, I have created a Python addin button. I currently have the name of specific file embedded in the addin python code. I will like to the script to be able to search for the file that is...

View Article


ArcGIS 10.1, Python crash on "import arcpy" after installing scipy-stack.

I'm having a frustrating time trying to use scipy with arcpy in my arcgis project. I'm able to successfully install the scipy-stack (Scipy-stack-13.8.17.win32-py2.7) binary from here, but once It's...

View Article

Working with intersect from buffer to class

There is an Intersect from a buffer and a feature class and I need to find the percentages of the original feature class that now lies within my buffered zone. How can I do this using Python? I need to...

View Article


Image may be NSFW.
Clik here to view.

Arcpy SQL Clause not working

Hi All I am running the Arcpy below in the Catalougue Python window but the result is unexpected. Basically it looks as if the variable rSQL is recognised, however the native underlying SQL functions...

View Article

add value to result of calculation of the filed

I need to put in filed path + filed_value. filed value I calculate with next script: Code: import arcpy input_based_on_raster =...

View Article


List of overlapping/intersecting features for "replace terrain points"

Hi all, I hate to bother you, but after several days of fruitless efforts to find a solution I thought I'd just ask if anyone knows if what I want to do is possible. So I have this Terrain-Dataset...

View Article

New Excel tool in 10.2

Does xlrd allow you to export select fields to an excel spreadsheet or just the entire table?

View Article

How to improve the python efficiency?

i am using arcpy to process some raster data and output a raster. but now, i meet some problems. 1. how to flush the memory of temporary data. 2. how can i set a temp path for the temporary data. 3....

View Article
Browsing all 2485 articles
Browse latest View live