Data driven pages: rotate two data frames
Hi I have a map with two data frames, DFA and DFB. I have used data driven pages with DFA to provide location, scale, and rotation for the data frame. With DFB I have used the data frame properties...
View ArticleEfficient method to go from a table view or feature layer to a Pandas DataFrame
I am just starting to use Pandas. I have exported a few geodatabase tables to csv files to load into Pandas DataFrames. I know there has to be a more direct or efficient way to load data from a...
View ArticleHow to change path of any feature class from one GDB to other GDB using Python
please anybody can help me to change the data source or path of any feature class from one Geo Database to other another Geo database using Python 2.6 Thanx
View Articlefeature class to point tool query? creating own
I have to creat a feature class to point tool and trying to create a drop down which only allows the user to choose one, they will be BOTH_ENDS, START, END I'm going through the process on ArcGIS 10.0...
View ArticleWhat is needed to run a Python script as a scheduled task on my ArcSDE server?
What is needed to run a Python script as a scheduled task on a server that currently only has ArcSDE 10 and Python 2.6 installed on it? Since the ArcSDE command "sdelocator" is no longer available...
View Articleextract a variable in netCDF file
Hi, Anyone have a script to extract a variable in NetCDF file? I hope you can help me. thanks Gualberto
View ArticleZ Value issue
I'm trying to get the Z value and basing it on points. I've managed to get it working when I have done feature vertices to point and I get a Z value when I select both ends, but can't seem to get a z...
View ArticleUsing the Data Interoperability tool, Quick Export, from Python
Hi, I'm writing a Python script to work with ArcGIS 9.3.1 and when I try to use the "Quick Export" data interoperability tool in Python, I can only get it to export to the file types that don't require...
View ArticleHow to pass mxd as argument
I have a simple script that is doing some parsing of the mxd that I pass it. The script works just fine if I hard code the name of the mxd into the script, however I would like to pass the full path of...
View Articlehow to calculate latitude and longitude of points using python
System ArcGIS 9.3 Python 2.5 Hello, I have about 100 point shapefiles in a folder. (projection WGS 1984) I would like to get the point latitudes and longitudes. I used to use XTool Pro but it did not...
View ArticleAdd a row only to empty attribute tables
System ArcGIS 9.3 Python 2.6 Hello Question 1 I have about 100 point shapefiles in a folder. (Let’s call them type A shapefile) All of them have no rows in attribute tables. (as attach...
View Articleadd row and input value under "CXXXX"
System ArcGIS 9.3 python 2.6 Hello I am trying to add a row to about 100 point shapefiles in a folder. When adding a row, I also want to key in a string S under the field "CXXXX." Different shapefiles...
View Articledelete rows for tables with over one row
System ArcGIS 9.3 python 2.6 Hello I have two kinds of point shapefiles in a folder. Type A has only one row in the attribute table. Type B has two rows. Please kindly advise if there is any method...
View Articledelete rows with FID=1
System ArcGIS 9.3 python 2.6 Hello I have two kinds of point shapefiles in a folder. Type A has only one row in the attribute table. (FID=0) Type B has two rows.(FID=0 and 1) Please kindly advise...
View ArticleError with arcpy.mapping.ListLayers - Please Help
Hello, everyone. I have a layer file that points at a FeatureClass. This FeatureClass periodically receives new data. I need to update the layer file so that it recognizes the new data. I'm trying to...
View ArticleHow get the data matrix in the order of "FID" from the fields of shpfile
I am scripting with python and ArcGIS 10.1. I want to get fied data from the shpfile, what I did are as follows: ssdo = SSDO.SSDataObject(inputFC, templateFC=OutputFC) masterField =...
View ArticleEditing relationship class tables in versioned SDE
I am looking for any hints or cautions on creating a python based script to add entries and populate attributes in a 1:n table for a selected set of road features.
View Articlechange mxd reference from ArcGISonline Basemap Imagery to newly acquired imagery
How do I capture the source for the ArcGIS online Bing Imagery currently referenced in a series of mxds so as to change them to a newly acquired image source? I thought that maybe this data is cached...
View Articlethe .description of the featureclass itself
Why when I add a layer programmatically does the featureclass description visible in ArcCatalog disappear? Code: #Is the .description of the featureclass itself available rather than from the layer...
View Article