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 ArticleIdentify 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 ArticleCan 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 ArticleWill 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 Articlearcpy.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 ArticlePythron 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 ArticleScript 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 ArticleHow 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 ArticleRASTER 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 ArticleCreate 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 ArticleDoes 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 ArticleField 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 ArticleReference 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 ArticleArcGIS 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 ArticleWorking 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 ArticleArcpy 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 Articleadd 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 ArticleList 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 ArticleNew Excel tool in 10.2
Does xlrd allow you to export select fields to an excel spreadsheet or just the entire table?
View ArticleHow 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