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)

1
vote
0answers
372 views

ArcGIS Server Manager keeps getting COM errors

I am using ArcGIS Server 10 on IIS6. While publishing out mapping services/restarting services/deleting services, I keep getting various COM errors like the one below..after viewing the Event log it ...
4
votes
1answer
1k views

Superimpose grid on points, then aggregate points within each grid cell

I have a vector of presence/absence values (1,0) and a matrix of x,y coordinate data (projected) specifying the spatial position of each value (about 25,000 in total). I'd like to aggregate the point ...
3
votes
0answers
772 views

Opening geoprocessing tools causes ArcGIS to hang

I am getting the same problem as http://forums.arcgis.com/threads/19468-Opening-tools-causes-ArcMap-to-freeze-crash That is, when I open any geoprocessing tool in ArcCatalog (might happen in ArcMap ...
1
vote
0answers
108 views

Set Numeric Format for Class Breaks Labels?

Why doesn't this code change the numeric format of the labels generated when I build this renderer? When I execute the set_Break() this nnumeric format is correctly set in the renderer but I still get ...
5
votes
1answer
359 views

Why is the Edit Vertices button (Draw Toolbar) enabled for some annotations but disabled for others?

I keep running into this: Export Labels in Layer A & B to annotations (In Map, In current extent only) Enable Focus Data frame Click on annotation exported from Layer A Click the Edit Vertices ...
2
votes
1answer
284 views

Making Labels Scale Correctly

I asked a question before about whether it was possible to scale labels and I was correctly pointed to the IAnnotateLayerTransformationProperties.ReferenceScale property. What would like to know now ...
4
votes
1answer
1k views

Multiple Conditional Reclassification - ArcGIS

This is a question out of curiosity rather than a problem as I am not the most experienced with raster datasets and I wonder if there is a better solution to my current approach. I am trying create a ...
11
votes
4answers
1k views

Efficiently finding the 1st order neighbors of 200k polygons

For every one of the 208,781 Census block groups, I'd like to retrieve the FIPS IDs of all of its 1st order neighbors. I have all the TIGER boundaries downloaded and merged into a single 1GB ...
3
votes
1answer
1k views

Parameters for python script: how to provide a user interface that lists a tool's available value options?

I have several scripts that I have working from inside PythonWin. I am now experimenting with running these from inside ArcMap 10.0 so I can have a user define the parameters of the script. An ...
2
votes
0answers
139 views

Remove Layer Labels

public void LabelOff( IActiveView view, IGeoFeatureLayer geoFeatureLayer ) { IAnnotateLayerPropertiesCollection annotationProperties = geoFeatureLayer.AnnotationProperties; ...
0
votes
1answer
848 views

Why “DataBase Connections” mapped to “Dataset DataBase Connections” in ArcCatalog?

I am trying to Export data from a geodatabase by a existed sde file(created by ArcCatalog), the Error Messges: Executing: ExportCAD 'DataBase Connections\Connection to ...
2
votes
1answer
683 views

Flex 2.4 login page with tokens

I am using AGS security and a 2.4 flex application. I would like to login with a login screen like available in the samples. Then utilize tokens for fc security on my services. I see a sample for ...
7
votes
1answer
1k 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: ...
15
votes
5answers
2k views

How can I find the farthest point from a set of existing points?

I have a set of points as a shapefile and I want to find (the coordinates) of a new point which will have the longest possible distance from each of the existing points. Is that possible? If yes, is ...
9
votes
2answers
285 views

Custom implementation of ArcGIS function

I would like to find out what it takes to create a custom implementation of an ArcGIS function. In particular, I would like to implement GeoAnalyst.ISurfaceOp2.Visibility() in order to get it to run ...
8
votes
2answers
1k views

Extract the area of a DEM above where 60% of the region lies?

I have a DEM of a mountainous region. I'd like to extract the areas of the DEM above which 60% of the total DEM area lies. So, essentially I'd like to extract the areas representing upper portions of ...
4
votes
1answer
904 views

Looking for XSL templates using Google Charts API

Hi all im searching for examples on usage of Arcgis Desktop html popups in general, being more specific on xsl templates using google charts api on it. Any references and comments are welcome. Thanks ...
13
votes
2answers
3k views

How can I create weighted Thiessen polygons?

I have a point shape file and I create Thiessen (Voronoi) polygons programmatically using this scripting syntax: CreateThiessenPolygons_analysis (in_features, out_feature_class, fields_to_copy) ...
7
votes
1answer
2k views

How to get ArcGIS Templates in VS2010

I have a work computer which has ArcGIS desktop installed first and then VS2010 (just the way IT does it) and then templates are not available, anyone know what I need to do to see the templates? I ...
3
votes
1answer
769 views

ArcGIS tool for indicating changes in land use

I have a couple of shapefiles in which there is some information about land use (polygons) such as water, forests, soils, buildings etc. Each of the shapefiles represents a certain year of the same ...
3
votes
0answers
311 views

Print axMapControl contents with preview [closed]

I have a map with many feature layers on top of it. I would like to be able to print the map and feature layers either scaling it to fit a certain page size or printing it to actual scale thus ...
6
votes
4answers
2k views

Efficient arcpy method of points in polygon

Coming from a background of Mapinfo and Manifold, I frequently find myself frustrated with the ArcGIS SQL toolset. In both these former programs it is trivial to write a query asking, for instance, ...
3
votes
1answer
377 views

Select Feature shows outline not filled

public static void SelectBy(this IActiveView view, ILayer2 targetLayer, string filterClause, esriSelectionResultEnum selectionResult ) { IFeatureSelection featureSelection = targetLayer as ...
2
votes
1answer
320 views

Is there an se_toolkit version for ArcSDE 10?

I have the one for 9.3 downloaded--is there a version for ArcSDE 10? So far my 9.3 version of se_toolkit is working against 10 geodatabases, but I've only tried a couple of the tools(sdeping and ...
6
votes
1answer
398 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 ...
7
votes
1answer
1k views

How do you draw a polygon (programmatically) on an ESRI map? [WPF]

I would like to programmatically draw a polygon on an ESRI map. I'm using this code to draw a polygon with the mouse but I'm really new to this technology and I'm a little bit lost ... Here is my ...
6
votes
2answers
447 views

Model Builder - import arcinfo licence when required by tool

Is it possible to check licences in/out as needed within modelbuilder? or will the following work -write a script to turn arcinfo licence on when the tool requires it and off once it's done? I need ...
4
votes
1answer
2k views

Model Builder - unique name segment creation

Is it possible for us to give each output of a process a unique name segment (inline name). So for example I have a process that dissolves, then eliminates and buffers a single input file. I need to ...
16
votes
3answers
714 views

Dealing with bridges and tunnels when modeling raster least cost paths?

I'm currently using ArcGIS 10 Spatial Analyst's Cost Path tool to model pedestrian routes. I have sidewalks, fences, buildings and a ton of pedestrian scale features, all combined into a cost surface ...
4
votes
1answer
168 views

Find Selected Element

Using the esriControls.ControlsSelectTool I select a text element that I have previously placed on the map. In code, how can I find this element on the map? I know I can iterate using the ...
3
votes
1answer
411 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
970 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
191 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
610 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
137 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
269 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
952 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
854 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
220 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
27 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
416 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 ...
5
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 ...