Tagged Questions
0
votes
1answer
31 views
How to Average neighboring county data and store in original?
I have data for several rain stations, i have averaged the data and given each county a value. Some counties have null values and I would like to pull the data from the all the bordering counties and ...
1
vote
1answer
33 views
arcpy.mapping Graduated Colors Symbology
I'm trying to figure out how to apply graduated color symbology to a feature class by using arcpy.mapping in ArcMap 10.1.
To start, a script runs and a feature class is added to a map document, no ...
2
votes
0answers
38 views
Difficulty in running the script
I have developed a script tool for adding a layer in the current map document.
It did not work.. The message is "Completed script addlayer...". But there were no layers added in the TOC.
Another issue ...
1
vote
1answer
47 views
Query and display a layer using arcgis script tool
I have database which contains point shapefiles and raster files for 3 species.
My aim is to develop a script tool that should have a search tab to enter the species name.
also, a check box to select ...
1
vote
0answers
74 views
arcpy ArcGIS Server
Could someone please help me by giving me an example on how to make/connect/Add ArcGIS Server connection via python/arcpy? Thank you in advance.
I'm using ArcMap 10.0
I desire to "Use GIS Services" ...
0
votes
0answers
45 views
Python code help for Program that “Reads a field in Feature class and Compares to PDFs Created from Feature Class” [closed]
I have a code that I found and I want to arrange it to do what I need it to do. I need some help making sure my correections will work. This program I think by what I read is searching through the mxd ...
2
votes
0answers
56 views
Can not get text element to update?
I can not get text element to update?
Text ELement has been added "Subdivision" Still not updating?..
class ButtonClass2(object):
"""Implementation for FemaMapper_addin.button (Button)"""
def ...
2
votes
1answer
140 views
How to use arcpy.mapping to batch export layer to KML?
I am trying to export map layers from an MXD to KML using arcpy with the following code:
import arcpy, os, sys, traceback
arcpy.env.overwriteOutput = True
mxd = ...
0
votes
1answer
76 views
How to add a graphic table element in Python without Production Mapping extension?
I'd like to add a table in the Map Layout that includes only items visible at the current extent of the dataset. I know that the Production Mapping Extension lets you insert a Graphic Table Element ...
3
votes
0answers
53 views
Why aren't a layer's serviceProperties exposed if the data source is broken? [closed]
In ArcObjects you can get the service properties of a map layer by looking at its IWorkspaceName.ConnectionProperties property set, even if the layer is currently invalid due to a broken connection.
...
2
votes
1answer
54 views
create folder with random number for each session using arcpy
I am processing data and it is required to have same name of outputs [standard names] for different geographical regions. Therefore it is necessary to save outputs in different folders each time. Is ...
5
votes
1answer
426 views
How to update shapefile data source in multiple dataframes and mxds using lyr.replaceDataSource and Python dictionary?
After reorganizing the file structure for some of our GIS base data files I need a script to update the data sources for ~ 100 shapefiles in about 50 mxd files. Some of the mxds have multiple data ...
1
vote
1answer
103 views
Removing/adding values in symbology window with arcpy
I'm using arcmap 10.1 and have one shp with many polygons with different typeID. I want to make a serie of maps showing each typeID on an individual map. Since I have many typeIDs I want to use arcpy. ...
4
votes
1answer
335 views
Problem getting the arcpy mapping module to export a layout view map
I'm using the arcpy mapping module to create a series of images and am having trouble exporting a map document to PNG in layout view; I can only get the script to export the data frame view. I've seen ...
1
vote
1answer
294 views
ArcPy: Using lblclass expression to change font style and color
I´m trying to label features of a dataset using ArcPy and the lblclass function.
While commands like "VBNewline" and "Round" work pretty well, I´m not able to change colors or font style. An ...
1
vote
1answer
155 views
How to add new data frame(s) to map using ArcPy?
I want to add a 2nd data frame to an existing "*.mxd" file. Right now, i see option to add layers and edit properties of "CURRENT" data frame but could not figure out how to add a new one and export ...