Polygon Creation from text file (min xy, max xy) ISSUE
We have been trying (for days) to create a polygon features from a CSV of min xy and max xy, held as GDA94 (lat,long) and it does not work for the majority of records. Only one works. I have added both...
View ArticlePython Add-In Combobox Auto-Complete ?
Any good ideas on implementing an Auto-Complete function within a combobox?? I have three comboboxes: MAPSearch_item: Allows the user to select from a drop down, a layer to to execute the search...
View ArticleMake Query Table - Field conversion
Hello I'm creating a model that is sucking in data from an Oracle database, which I intend to turn into an Event Layer. Usually this is pretty simple, however on this occation the X and Y coordinates...
View Article'list' object has no attribute 'split'
I have the following code and i am getting the following error, i am not sure why because the code works in python window in ArcMap but it doesn't work as a Add-in tool. Any would be appreciated. error...
View ArticleUSE GDAL
I installed GDAL core and python bingings (ArcGIS10.2). There are no error massage import: from osgeo import gdal from osgeo import ogr from osgeo import osr But there are errors: No module named...
View ArticleMosaic To New Raster
Hello i have on question that may be easy to experts with python. I am new to the Programing language so i don't have a good background. Lets start with the inputs I am working on some NDVI Landsat...
View ArticleSelection sequence works in python window but not as stand alone script.
I was wondering why a selection chain consisted by a "Selected by attributes" followed by a "selected by location" command provides an empty fc as a stand alone script, while it works fine in the...
View ArticleNamep olygons according to underlying polygons
I have a set of polygons derived from topography and a set of polygons I use for validation purposes. Now, I would like to assign the IDs of each validation polygon to the according derived polygon on...
View ArticleHow to change the anchor point of a picture element
I want to change the anchor point of a picture element from what seems to be the default (lower left corner) to the upper left corner. How can I do that with Python? Thanks for your help.
View Article"The Tool is not Licensed" Error in geoprocessing service.
I have a toolbox that works fine on our server, and I used it to publish a geoprocessing service. (We have Arcgis Advanced License) But the geoprocessing service on ArcGIS server will fail and give the...
View Articlearcpy.GetMessages returns empty [BUG]
I am trying to access the messages that were logged throughout a script. Code: arcpy.AddMessage("Something...") message = arcpy.GetMessages() print messageĀ # always empty The above is always empty....
View ArticleArcGIS 10.0 - Arcpy Map Export: how to get the actual maextent in the...
Environment: ArcGIS 10.0 As v10 doesn't have out-of-box printing service, we are developing a simple one to export map layers to image (JPEG). The service is called in web browser. Input params: XMin,...
View ArticleGet FieldName from Field Alias
Perhaps I'm thinking a little too hard about this but I can't really figure out if there is a way to determine which field a particular field alias resolves to. My situation is that I've got a series...
View ArticleExploring spatial data
I have been working on this for hours and am getting increasingly frustrated. i do not know how to get these answers or what code to put in. I have followed through all of the lab walkthroughs and have...
View ArticleQuestion for a script!!
I use an hydro tool developped by the Mineasota Gov. Description: This script creates a raster whose cells measure the length of time in seconds, that it takes water to flow across it and then...
View ArticleHelp improving tool
I have this script that i have put into a tool but it runs super slow. it take about 4 minutes to create a point and populate. The tool does not give me an error it's just super slow, I believe it is...
View Articleiteration question - replace string
Hello, I was wondering if somebody might be able to shed some light on what I'm doing wrong here. I have a file geodatabase with some tables in it. I want the script to iterate through each of the...
View ArticleKeep Intermittent Data
Hello, I have some models that I built a long time ago and have converted to Python script to run as an automated process nightly. The scripts ran fine for well over a year until my computer was...
View ArticleClipping Large Datasets
Hello, I am writing a script that includes the arcpy.Clip_analysis tool. I am running a very large dataset that errors out like this: Quote: Traceback (most recent call last): File...
View ArticleGPValueTable values
I am trying to create a python toolbox with a tool that presents the user with a Value Table with 3 columns. I am hoping to insert data into these columns as the user interacts with the tool through...
View Article