ArcGIS 10.0 is a specific software version of ArcGIS.
6
votes
1answer
338 views
Counting Files with a Spatial Reference using Python
I need to display a list of feature classes with an unknown spatial reference, and the number of feature classes with a spatial reference. I think I have the first part right, but having troubles with ...
6
votes
1answer
4k views
Install VBA on ArcGIS 10
What is the complete recipe for installing VBA for ArcGIS 10 Desktop?
The Esri help topic on this is incomplete. From the number of threads I found troubleshooting this I'm not the only one ...
6
votes
2answers
779 views
Changing Button's Enable-State on ArcMap10-Start
How can the enable-state of a AddIn-Button be influenced on start of ArcMap? My button should be disabled on startup of ArcMap and than turned enabled when the Edit-session is started.
In ArcGIS 9.3 ...
6
votes
1answer
510 views
Is there a way to use the old command line in Arcgis10?
I know that the command line has been replaced by the python window, but I was just wondering if there is any way to use command line within Arc 10?
Thanks
6
votes
1answer
1k views
Updating Lat/Longs and actual position of point shapefile
Greetings everyone, quick question regarding lat/longs and updating a point features actual location. I have a point shapefile with over 3000 points that are updated frequently, when they are updated ...
6
votes
1answer
161 views
Dissolved polygon shows 'ghost' of previous 'child' boundaries
I dissolved the polygons specifically to get a unified outline without any interior boundaries showing. Now I've got a partially broken interior line within the polygon.
This is for cartographic ...
6
votes
2answers
634 views
How are Class Extensions associated with a Feature Class in ArcGIS v10?
In ArcGIS 9.x if a Feature Class is registered with a Class Extension the CLSID of the extension is recorded in a table in the sde schema called sde.GDB_OBJECTCLASSES (EXTCLSID field).
However in ...
6
votes
1answer
387 views
How to attribute a polygon with the names of polylines it contains?
I have a set of polyline shapefiles and a polygon shapefile. The task is to split the polylines by the polygon border and write the names of polyline objects located within the polygon to the ...
6
votes
2answers
674 views
ArcGIS 10 British National Grid Transformation
In ArcGIS 10 a new transformation has been added for converting between WGS84 and British National Grid. What is OSGB_1936_To_WGS_1984_NGA_7PAR? How should it be used when compared with the other ...
6
votes
2answers
972 views
Change from layout view to data view using python? (ArcMap 10)
Is there a way to change from layout view to data view using python? I would prefer to do it using arcpy.
6
votes
1answer
151 views
Calculating “relative slope” per Mora-Vahrson method in ArcGIS
I'm a longtime lurker who finally decided to register on the forum (in no way driven by my need to have a certain question answered, of course...).
I was contacted by a colleague asking for help ...
6
votes
2answers
577 views
Calculating Field based on name of shapefile
I have multiple shapefiles to which I have added a field called "gname1". For each shapefile, I want "gname1" to be set to the name of that particular shapefile, for every feature within the ...
6
votes
2answers
1k views
Is ArcGIS 10.1 Desktop compatible with 10.0 Server?
Since upgrading my "ArcGIS for Desktop" (Windows 7) client to 10.1, I'm having the hardest time trying to figure out how to publish a Map Service on my (CentOS) 10.0 Server. Back on 10.0 Desktop, I ...
6
votes
2answers
1k views
How to calculate XY coordinates in Decimal Degrees from projected dataset in model or script?
Is it possible to calculate points XY coordinates in Decimal Degrees in model or script when a feature class is in projected coordinate system?
It's easy when a FC is in geographic coordinate system:
...
6
votes
2answers
177 views
How do I process xy data to be compatible with census block data (so I can include them in my GWR model)? (ArcGIS 10)
I'm pretty new to GIS, so apologies if my problem is rather simplistic
I'm planning to do regression analysis (GWR) on several datasets, where all but one is based on census areas (UK OS lower level ...
6
votes
3answers
2k views
Making Table data available to a map service
I am trying to make a non geographic table available to a map service. I thought you simply added the table to the MXD and publish it with a relate to the field they were linked and then publish the ...
6
votes
1answer
1k views
Arcobjects: Zoom to first queried feature
I'm attempting to query a feature class for all features that meet a certain criterion (in this case, the Status field is NULL). However, I'm not getting very far into the attempted method before ...
6
votes
1answer
763 views
Setting units in python using ArcGIS 10
I want to calculate the area of each polygon in a shapefile. How do I control what the units of measurement are?
def getArea(shapefile):
"""Print area of polygons"""
Rows = ...
6
votes
3answers
2k views
Convert .mxd with embedded VBA command button to ArcMap 10
I'm trying to convert an .mxd file from an older version to ArcMap 10. The old version had two simple VBA scripts attached to toolbar buttons. I am trying to convert this .mxd to ArcMap 10. For ...
6
votes
2answers
813 views
How to convert GML to features in ArcObjects?
How to convert GML to features and features to GML i ArcObjects?
We are building an application where we want to communicate with a service with GML but natively in our stand-alone application we ...
6
votes
1answer
183 views
Why does tool take longer to run when in Python script?
I have written a python script that does some euclidean allocation. For that I use arcpy.gp.EucAllocation_sa() method. Now, my python script takes 30-40% extra time than spatial analyst euclidean ...
6
votes
3answers
2k views
Is it possible to export dynamic labels from ArcMap to KMZ? (Or alternate approach)
I am preparing increasingly more maps and layers for export to KML/KMZ as it seems to be the most convenient way to quickly analyze spatial data by my superiors.
In order to export labels I seem to ...
6
votes
1answer
1k views
How to Verify if a FeatureLayer already exists?
I am currently working on a project where when user loads up their map (mxd) into our system, we create several custom featuerlayers for them. My problem is though, I have no idea how to check if I ...
6
votes
3answers
3k views
Calculating Polygon Width in ArcGIS
Is there an easy to calculate the width of a polygon using ArcGIS 9.3.1 or 10? I found some scripts for 9.1 but they will not work. I can use width at widest point, narrowest point, or an average. ...
6
votes
1answer
316 views
How to programmatically determine the size of a feature class in a file geodatabase?
My answer to the question How to get the size of a file geodatabase feature class on disk? shows how one can enable a column in ArcCatalog showing the file size of FGDB feature classes in the contents ...
6
votes
1answer
460 views
How to attach GP script tools, standard tools, and Python script to a toolbar?
I need to build a custom toolbar that can launch the following items:
A Python script tool - shouldn't be a problem, as you can already
attach these to a toolbar
Out of the box functions such as the ...
6
votes
1answer
697 views
Excel object does not display more than 19 fields in ArcMap 10
I have an A0 map. I want to put a table underneath it. I want to insert an Excel object as the table. When I do this, the size of the table is 19 fields/columns. I cannot increase this number of ...
6
votes
1answer
477 views
Inserting newlines in Rectangle Text elements via ArcPy causes overlap
I ran across an issue the other day when I tried to use ArcPython's mapping module to edit rectangle text elements with newlines (\n) in an ArcMap document. Here's what the output looked like:
...
6
votes
1answer
312 views
With arcpy, how do I detect relationship classes in a file GDB (or can't I)?
I would like to be able to detect relationship classes in a file GDB. Because users of my script might have only an ArcView level license, they would not be able to manipulate the schema of a feature ...
6
votes
1answer
136 views
How is IValidate.GetInvalidRules supposed to work?
we are currently trying to programmatically validate features against geodatabase-defined rules. This includes attribute rules as well as connectivity and relationship rules.
We have consulted the ...
6
votes
1answer
431 views
Can Spatial Joins be used to perform One-to-Many Closest joins?
My situation appears rather simple, but it has given me headaches more than once already. I have a set of points and a set of polylines. I would like to use a spatial join to join the attributes of ...
6
votes
1answer
592 views
Coordinate grid display on a rotated map
I have a series of maps that require me to rotate my data frame within my layout screen (north "rarely" points up in these maps). I ONLY want to show east coordinates on the top/bottom and ONLY north ...
6
votes
1answer
754 views
ArcGIS 10 add-in: ComboBox add-in component focus issue
Update 9/9/11: Here is a minimal example project that will reproduce the issue for me (VS 2008 solution): http://wfurl.com/09061bf
I have an ArcMap 10 add-in with a ComboBox class that I place on a ...
6
votes
1answer
211 views
Use existing property pages with new IFeatureRenderer
I am trying to override the drawing of a feature within a custom plugin data source. I believe this entails making a custom IFeatureRenderer.
However, the "renderer" I'd like to design would be 99% ...
6
votes
2answers
753 views
Change default field properties for number format in ArcMap?
Anyone who has worked with numbers that have more than 14 digits has run into ArcMap's wonderful habit of converting any number of such length to e-notation. While changing this is a simple matter of ...
6
votes
2answers
973 views
Is anyone successfully using arcpy.ExportMetadata_conversion?
I don't know if it is a bug or my lack of python skills, but I keep getting 'ERROR 000816 The tool is not valid' in my python script when I call ExportMetadata_conversion
Initially, I was attempting ...
6
votes
2answers
82 views
How to get max value from 3 vector files?
I'd like to know how to the get max value from 3 vector files. Originally, the vector file are interpolated images. (First, point data are interpolated into surface data by IDW method and then ...
6
votes
1answer
196 views
How to convert an Erdas training set to .csv?
I am working with Erdas Imagine's Signature Editor to perform maximum likelihood classification. I need to use the same training set created in Erdas for other classification using R. Is there a way ...
6
votes
1answer
244 views
Smoothing raster features into polygon
I have raster data representing urbanized areas, which I'd like to trace and convert to a polygon.
Using ArcMap's Raster to Polygon tool, I'm able to get something close to that.
Unsimplified:
...
6
votes
1answer
285 views
How to get full path of layer selected in drop-down box for ArcGIS Python tool
I have a Python script-based tool in ArcGIS. One of the parameters for the tool is an input raster file, which I've set (using the properties of the tool within the toolbox) to be a Raster Layer. This ...
6
votes
1answer
1k views
Python-arcpy : How make feature list from gdb and value list from field and use them in gaLayer function?
I'm not an expert in python, however I have to write a script to do geostatistical analyses with the GACreateLayer function from Arcgis.
I have several data (>2000) and I want to use list of features ...
6
votes
3answers
575 views
How is a “Map Package” created programmatically?
Given a loaded map document (mxd) how do I find the geodatabase objects related to the contained layers? I want to copy them with the map document so the map can be moved onto each user's local ...
6
votes
2answers
469 views
What are best practices to compare densities and locations between two sets of points?
I have two sets of point shapefiles. They represent two different customer groups for a retail store. Shapefile A represents online customers, Shapefile B represents in-store customers.
What I ...
6
votes
2answers
334 views
Display map scale (like 1:20.000) next to ScaleBar
In my PageLayoutControl I add a ScaleBar. Additionaly I like to show the map scale/ratio (e.g. "1:20.000") next to it, but didn't find a way to achieve this with the ScaleBar. Am I missing something ...
6
votes
1answer
8k views
How to convert Mapinfo “.Map” file into an ArcGIS format? [duplicate]
Possible Duplicate:
How do I convert MapInfo TAB and/or MIF to SHP?
I currently do not have MapInfo but I do have a lot of ".Map" files that I need to convert for use in ArcGIS.
Actually ...
6
votes
1answer
594 views
Create metadata for multiple datasets simultaneously in ArcGIS 10
I am trying to find a way to create metadata through Arc Catalog for multiple datasets simultaneously. I'm working within a file geodatabase, which composes of multiple feature classes and rasters. ...
6
votes
1answer
405 views
Arcpy hanging on Linux
I am having issues getting arcpy to run correctly on Linux Red Hat. I solved some earlier problems which appeared to be related to permissions on the init_server file. Now that si resolved, when I ...
6
votes
1answer
443 views
Is there a way to get the percentage of different landuse types upstream of a given point?
I'm a fairly novice GIS user and know just enough to get in trouble in a lot of cases. I am trying to look at the connection between several measured parameters at a few hundred stations along ...
6
votes
1answer
511 views
How to use Eclipse/PyDev's debugger with ArcGIS
Has anyone successfully been able to configure ArcGIS 10 to use PyDev's debugging server for debugging? How do you set that up? I have PyDev working fine by itself, with ArcPy working fine, but I ...
6
votes
2answers
300 views
How to find all ICommandItem instances of a custom button command in an ArcMap add-in?
I have an ArcMap 10.0 add-in in which I have a button that the user can place (using the Customize dialog in ArcMap) on any toolbar including user-created toolbars as well as standard ones or even 3rd ...

