Use this tag when ArcGIS 10.0 (or any of its service packs) is the ArcGIS Platform version you are using.

learn more… | top users | synonyms (2)

3
votes
1answer
405 views

Problems reading data from a file geodatabase using an OleDbConnection

I'm able to connect to an ESRI fgdb using an OleDbDataAdapter and read the attribute table just fine - from within visual studio. However, when I put the code inside a windows service it crashes (no ...
4
votes
2answers
221 views

Append Point Shapefile Location by GPS'd text file

In my industry it is common to create preliminary design maps for point locations that have a unique identifier. Upon the actual construction on the design, points change location based on ...
5
votes
1answer
930 views

How to check whether a fc is registered as versioned or not using python

How can I check whether or not a feature class is versioned using python? I'm trying to register feature classes using a python script. Before I do this I need to check whether a feature class is ...
0
votes
1answer
187 views

Setting the Color of a TextSymbol

public void DrawText( IActiveView view, string text, string fontName, int fontColor, float fontSize, IPoint point ) { ITextSymbol textSymbol = new TextSymbol(); stdole.IFontDisp ...
6
votes
1answer
598 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 ...
2
votes
0answers
135 views

How can I iterate a model that solves multiple routes with multiple locations?

I have multiple line feature classes that I would like to make routes and solve. For each of these routes I have specific start/stop points (feature classes) that will act as locations. How could I ...
1
vote
1answer
3k views

Using the arcpy.UpdateCursor to delete rows doesn't delete based on counter

I am trying to delete rows from a shapefile using arcpy.UpdateCursor. The first thing I did was get a unique list of values from the key field "PolyGUID", then I iterate that list doing a ...
2
votes
1answer
241 views

Query for Selecting only Selected Fc's from a GDB

I need to version n number of fc's which start with sde."ENT-QA". I need to select only those feature classes and run versioning for it. Can anyone help me in writing the query for selecting only fc's ...
2
votes
0answers
266 views

What's wrong with my label formatting?

I have some formatting issues with my labels. I am using a fairly straight forward expression (see below). It sort of works fine but some formatting is being ignored, namely the ALL CAPS ACP tags. ...
3
votes
1answer
933 views

Measuring distance between points along a river system

I have a forked river with multiple x,y data points along it and I need to measure the distance between these points when travelling along the river. However the forked part is throwing a wrench into ...
3
votes
3answers
4k views

Polyline length calculation in ArcGIS 10/VB script

I used to run this length calc on my data in ArcGIS 8 and 9, and now it don't work in ArcGIS10. Can you tell me what I have done wrong? Dim dbllength as double Dim pcurve as icurve Set Pcurve = ...
6
votes
2answers
841 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 ...
4
votes
2answers
2k views

Simplify Raster Contours ArcGIS 10

Does anybody know a way to simplify a number of contour polylines derived from a raster dataset? I need to generate a map that shows contour polylines at relatively small scale. With the contour ...
3
votes
1answer
217 views

Self-Sizing Labels

I have labels now in my application that work fine using the usual ILabelEngineLayerProperties2. When I set them up I set the .Expression property and using the .Symbol property I set the font, style, ...
1
vote
0answers
25 views

Is there a way to configure user logins to be case-insensitive in WMX (JTX) for ArcGIS 10?

I have some users who login on different workstations and the case of the username is different: John.Doe might be john.doe on another workstation. I would like WMX to treat this as the same user. I ...
6
votes
1answer
412 views

Why do ArcGIS Desktop 10 HTML popups give JavaScript/HTML Error?

Using ArcMap 10 Desktop HTML Popups. The issue I am having is that the html < select > elements aren't working - you can select it and use the arrow keys to navigate through(up/down) the list but ...
4
votes
1answer
284 views

Why does ArcMap 10 export circles instead of diamonds?

My default symbol for building is a small square. A jpg export or any other export renders it as a small circle. It's a killer for hydrology maps which use circles for many other items. Solutions? ...
4
votes
2answers
2k views

How to create a report from selected features in ArcMap

I am new to ArcGIS and I am trying to create an Add-In button which can figure out which polygons are selected and query the selected polygons to generate a report on the underlying metadata ...
7
votes
3answers
1k views

How to determine on which side of a line a polygon feature falls?

I have parcel data intersecting line data. In the parcel data there are some parcels that don't intersect the line. How could I programmatically figure out if the non-intersecting parcel is on the ...
4
votes
2answers
5k views

How to sort a feature class and then calculate a sequential ID field?

I am in ArcMap and I want to sort the records based on a field and then do a Calculate Field with an auto-incrementing value with the sort in-place. Any ideas? It looks like I could get an update ...
3
votes
2answers
2k views

How to set spatial reference to OSGB_1936_British_National_Grid in ArcGIS

I have two datasets in ArcGIS. One is from the Ordnance Survey (UK National Mapping Agency) and, when I view the properties of the dataset it says that the Spatial Reference is ...
3
votes
2answers
2k views

Why is the Dissolve Tool not working?

I'm still having trouble with the dissolve tool and I've tried all of the solutions offered here including moving the process from the background and repairing the geography. I've also tried amending ...
2
votes
1answer
308 views

Reproject TM65 to OSGB in ArcGIS

I have a TIFF file in the TM65 (Transverse Mercator) projection, and want to convert it to the OSGB (British National Grid) projection. I'm trying to do this in ArcGIS using the Project Raster tool. ...
6
votes
1answer
400 views

Near tool producing odd results for batch-snapping; how to best perform batch-snapping?

I am trying to use the Near tool in Arc10 as described in Snapping points to a line using ArcGIS geoprocessing tools for the purposes of batch-snapping a feature class of points to a feature class of ...
3
votes
1answer
429 views

How can I georeference a second image without losing georeferencing for first image in ArcGIS 10?

What happens: 1) Take a map with an image that was georeferenced earlier, which works fine. 2) Add a second image to the TOC and fire up the georeferencing toolbar. 3) Select the new, ...
2
votes
2answers
92 views

Bring Feature Selection To Top

I'm using IFeatureSelection.SelectFeatures() to select parcel polygons in my parcel layer. It works fine until I create a ClassBreaksRenderer to apply a color ramp based on a field in the feature. The ...
1
vote
1answer
346 views

How to Create and Rotate Raster Dataset using ArcObjects?

I'm following the "How to create a raster dataset" tutorial: http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#//000100000464000000 The questions are: 1) How can I create ...
1
vote
0answers
63 views

Finding two locations with H elevation difference on a DEM [duplicate]

Possible Duplicate: Volume of water in a basin with reference to incremental height of DAM I want to find two locations on a DEM with any specified H elevation difference. I want to see ...
2
votes
3answers
2k views

ArcGIS incredibly slow when opening any toolbox tool

I've got a fresh install of ArcGIS 10.0, and whenever I try and open a tool from the toolbox (for example, Project Raster) it takes literally 5 minutes to open the dialog, and then at least 30 seconds ...
4
votes
2answers
12k views

Looking for a Tool to Calculate Distance Between Points (Between Layers)

I am a college student using ArcEditor 10.0 for a semester project measuring distance to hospitals from census tract centroids. This is my first time using ArcGIS, and I have no formal training. So ...
1
vote
0answers
131 views

What does SetHistogramData do?

I run the following code: IClassify classify = new NaturalBreaksClass(); ITableHistogram tableHistogram = new BasicTableHistogramClass(); IBasicHistogram basicHistogram = tableHistogram as ...
2
votes
0answers
3k views

Source for ArcGIS Layout Templates?

I am running v10 of ArcGIS for Desktop. I am aware of the OTB templates provided with ArcGIS. - However, I would like to supplement these layouts with additional layouts. I am also aware of the Map ...
0
votes
1answer
968 views

How to use variable field name in arcpy.SearchCursor?

I have code that says fld = fieldName rows = arcpy.SearchCursor(fc) for row in rows: x = row.fld How do I use a variable for my field name in python ArcGIS 10 on windows? Thanks.
1
vote
0answers
212 views

Building query for query attribute task in arcgis server manager for a layer related to a table

I my map document (.mxd), one layer (BUILDING with spatial data) is RELATED to a stand-alone table (EMPLOYEE) with one-to-many relationship having a common field call dept number (one building with a ...
12
votes
5answers
6k views

Obtaining extent of each polygon in shapefile?

In arcgis 10 and python I want to get the extent (xmax, ymax, xmin, ymin) info of each of the polygons in a shape file. I can get the extent of the whole shape file using ...
1
vote
0answers
262 views

UniqueValueRenderer and ClassBreaksRenderer configuration

So I can create one of these renderers based on parameters I let the user set. Some parameter combinations either create invalid conditions or no conditions at all - missing data, too many breaks or ...
3
votes
0answers
272 views

IUniqueValueRenderer on Polyline and Points made my Features all invisible

I am currently using IUnique value renderer like this: foreach (string nodeType in nodes) yield return new KeyValuePair<string, ISymbol>(nodeType, CreateNewSymbol() ); public static ...
5
votes
3answers
1k views

What is Quickest way to Copy Single Selected Polygon from Very Large ArcSDE Feature Class?

I have selected a single polygon, which is large but not massively complex, from an ArcSDE 9.3 for Oracle feature class with 3.5 million polygons using ArcGIS Desktop 10.0 SP3. I would simply like ...
4
votes
1answer
377 views

automating forest cover calculations with Python

I have a layer of forest cover comprising ~ 30,000 individual forest patches, and I need to calculate the amount of forest cover within a 5 km buffer of each patch. The buffers all overlap each other, ...
6
votes
1answer
489 views

Clearing map cache - ArcGIS Engine

Is there a programmatic way to clear the cache of a map in ArcGIS Engine 10.0? It is apparent that there is some caching scheme operating under the covers, and I'd like to clear all of its cached ...
1
vote
3answers
1k views

field calculator syntax error

I'm trying to calculate the direction the 'generate near table' function gives me into actual directions, N, NW etc. Azimuth would be a start too. I tried this script in the field calculator but it ...
9
votes
2answers
5k views

How to list feature classes in multiple geodatabases in a folder?

I have a folder with numerous geodatabases in it. Within the geodatabases are feature classes. I would like to get a list of the feature classes in these geodatabases using a Python script. I've only ...
2
votes
2answers
2k views

How to automate point-in-polygon queries in ArcView?

Layer1 = point shapefile (multiple points, geocoded) Layer2 = polygon (1 attribute; (1,2,3...)) I want a non-gis person to be able input a single address and be told the attribute of the polygon ...
6
votes
5answers
4k views

How to map the frequency of overlapping points within an urban area?

I've been asked to do a favor for someone since I'm "the mapping guy" and could use some theoretical help by way of examples since my actual cartography skills are a little rusty. I have a series of ...
2
votes
2answers
582 views

Detect map scale from raster dataset

Let's suppose you have a raster dataset (in a folder or in a personal database). How can you detect what map scale it represents (assuming of course that all rasters have same dimensions/resolution)? ...
2
votes
3answers
1k views

ERROR 000800 when trying to snap points layer to line or buffer layer

I am very new to GIS, so go easy on me. I am using ArcCatalog 10.0 and trying to snap a set of points to another layer that has roads in it. The points represent 10th miles along the road. Here are ...
3
votes
1answer
501 views

Unable to create temporary GeoDatasets in g_g_g folders

I am converting a VBA macro that was written for ArcGIS 9.3 to a VB.NET project using the ArcGIS 10.0 .NET SDK. I am getting the following error whenever the code tries to create a temporary ...
4
votes
1answer
386 views

How to write code for downloading a file in ArcGIS 10?

I have an offline database which has lat & long coordinates. The functionality I need to provide is to have a (latitude, longitude) point which will have country and city in it. Once the user has ...
1
vote
4answers
3k views

Rotating Map Elements in ArcGIS 10.0

I have imported a shapefile whole polygon is diagonally oriented. Rather than rotate the polygon, I would like to adjust the scale bar/legend/title to fit this unique orientation. Would like to know ...
5
votes
1answer
558 views

How do I cast shadows from 3D Objects in ArcScene?

I would like to cast shadows from my 3D objects in ArcScene onto the surface and other objects. (Much like I can in SketchUp). Is it possible? If so how?