Setting GraduatedSymbolsSymbology.classBreakValues with joined fields by ArcPy
Hi, I tried to set breakvalues and breaklabels on a graduatedsymbol-layer. When the layer has no join it works fine, but I need to join a SDE table in order to classify one field of the joined table....
View ArticleSum Point attribute in Polygons
Hello I have a polygon file that is continent wide. Within each unique polygon ID (14,000 total), I have a point dataset where bird point counts were collected. Within a unique polygon ID there could...
View ArticleCan I install Python 3.3 on the computer with ArcGIS 9.3 and Python 2.5?
I have ArcGIS 9.3 on Windows Vista 32. I want to study a Python course which requires Python 3.3. Can I install it using the official installer python-3.3.2.msi? Will something happen to ArcGIS? I have...
View ArticleScript runs in ArcMap but fails in Geoprocessing Service
This script works well when I run in in ArcMap, but when I create a geoprocessing service it fails. I have to create a geoprocessing service because I will use this in a Javascript webmap. Do you guys...
View ArticleRe: IOError when calling Style File
Thank you! The IOError is now gone, but the question that I have now is how do you save a customized style as .ServerStyle file? I haven't been able to find much documentation on it except some sample...
View ArticlePython script that works in ArcMap, failes in ArcGIS Server
Hello, I am new to python, and I am trying to learn it through my daily work. I need a function that will take a string parameter and look into a feature class, find the object and change the extent of...
View ArticleCopyRaster Environment Settings Not Being Applied
I am making a call to arcpy.CopyRaster_management to convert some miscellaneous rasters into JPEG2000 *.jp2 files. Before making a call to this line, I want to set a few arcpy.env environment settings...
View ArticleEditing symbology according to attribute with python?(ArcGIS10.0)
Hello, everyone. I am wondering if I can create a code to change how existing line features are displayed according to their attributes. I have line features for rivers, and the table has an attribute...
View Articledll problem with Python
Hi all.... Hope this isn't as baffling to some of you out there as it is to me....I'm trying to run a Python script and when its run in pythonWin it throws the error "The program cant start because...
View ArticleTwo problems with using layer.replaceDataSource.
We have a little over 300 layers in 275 or so .lyr files. These files have been created over the course of years and have many different workspace paths. We are replacing our GIS server so I need to...
View ArticleHow do I calculate field from a different feature class?
Bear with me, as today is the first time I've learned anything about Python and I'm a Model Builder n00b. Here's what I'm trying to do: Select one feature in the Place feature class Select all features...
View ArticleDerive Min/Max Measure from PolylineM
Hi, I am trying to derive the minimum and maximum measure for each segment from a PolylineM feature. In the past I used the below VB code from an old colleague in ArcMap 9.3.1 which worked perfectly. I...
View Articlearcpy 10.2 Python GUI
Does ArcGIS 10.2 support custom GUI using wxPYTHON, PyQt? Thanks in advance
View ArticleHelp with CalculateField using variable
I have been working on this on my own for some time & many frustrations, but it's time I ask for some help with my problem. What I want to do is calculate two fields in my parcel lines data...
View ArticleLabeling with python
Hello, I am trying to give features labels with python code. Here is the code I am using: Code: >>> import arcpy ... mxd = arcpy.mapping.MapDocument("CURRENT") ... layer =...
View Articledata driven pages - check if true - arcpy
is there any code to check if an mxd has data driven pages activated? e.g. if datadrivenpages = true then xx else yy
View ArticleSetting GraduatedSymbolsSymbology.classBreakValues with joined fields by ArcPy
Hi, I tried to set breakvalues and breaklabels on a graduatedsymbol-layer. When the layer has no join it works fine, but I need to join a SDE table in order to classify one field of the joined table....
View ArticleSum Point attribute in Polygons
Hello I have a polygon file that is continent wide. Within each unique polygon ID (14,000 total), I have a point dataset where bird point counts were collected. Within a unique polygon ID there could...
View ArticleCan I install Python 3.3 on the computer with ArcGIS 9.3 and Python 2.5?
I have ArcGIS 9.3 on Windows Vista 32. I want to study a Python course which requires Python 3.3. Can I install it using the official installer python-3.3.2.msi? Will something happen to ArcGIS? I have...
View ArticleScript runs in ArcMap but fails in Geoprocessing Service
This script works well when I run in in ArcMap, but when I create a geoprocessing service it fails. I have to create a geoprocessing service because I will use this in a Javascript webmap. Do you guys...
View Article