New Python Toolbox will Crash Arc Catalog
Has anyone else experienced this? - Fire up ArcCatalog or ArcMap - Create a new Python Toolbox (do not modify anything in the default toolbox) - Close ArcMap / ArcCatalog - Start ArcCatalog - it will...
View Articledisable m and z values
I am working in on a geoprocessing python script (10.0). My issues is the following error: ExecuteError: ERROR 999999: Error executing function. Invalid Topology [M coord limit exceeded.] I am aware on...
View ArticleSecurity in ArcGIS Server
Is it possible to define who is going to delete, update or just view the features in a feature service using the security settings in ArcGIS Server? Thanks
View ArticleCreating customized reports of individual records in a feature class.
I have a geodatabase of data collected on point features such as traffic signals. I need a program that will go through all the signal records and generate a custom made report with all the attribute...
View ArticleLearning Python
Can anyone direct me to a good resource for learning to script with Python? Especially as it relates to ArcGIS I have experience in VB so the idea is not completely foreign to me
View ArticleError w/ Add-In
I am writing an Add-In of a Toolbox with Buttons that open certain folders or files. These file aid in data entry. I can get my buttons to show up but they are not working. Is it I cannot use the os...
View ArticleField mapping for dummies?
Hi all! I don't think I'm smart enough to get this arcpy.fieldmapping thing... Does the following code have any advantages/disadvantages compared to the fieldmapping? I like this because it seems like...
View ArticleUsin pyhon script to join tables
Hello everyone, i am currently using ArcGIS 10.0 and I would like to join an excel spread sheet with a City parcel table. The Parcel table has a common field which is the parcel ID# as well as the...
View ArticleHow to remove Lock?
I creat a loop. In the loop, it makes a HillShade Raster (named A) and makes a new Raster (named B) from A. But the Raster A can not be delete because the Raster A is Locked. How can i solve this?
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 Article