ArcObjects is a set of COM-based APIs from ESRI Inc. that are used in several of their products including ArcGIS Desktop, ArcGIS Engine and ArcGIS Server.

learn more… | top users | synonyms (3)

1
vote
0answers
45 views

How to make a custom properties dialog for a custom text background

I'm developing a custom text background in ArcObjects like in this example. I would like to know if it is possible to make a custom properties dialog to set up parameters of this text background. It ...
1
vote
0answers
349 views

How to cut polygon or split polygon using polyline and ArcObjects?

I have ArcMap10.1 and ArcObject.net. i have created tool and on mouse down event i write some code I tried it using topologicalOperator4.Cut2(newPolyline) but i get error "A polygon cut operation ...
1
vote
0answers
65 views

Does ITopologicalOperator.Simplify call IGeometry.SnapToSpatialReference?

Does the ITopologicalOperator.Simplify method call IGeometry.SnapToSpatialReference as part of the simplify process? I thought I saw some ESRI documentation that indicated that it does, but I cannot ...
1
vote
0answers
92 views

Inaccurate result while clipping on gis data

I am trying clip polyline data using a polygon geometry. I am using itopologicaloperator to do this task. However, resultant clipped data is off by 1 feet. Meaning that the polylines at the boundaries ...
1
vote
0answers
80 views

how can i export a shapefile

hi I want to select the cities that exist in Morocco and export it to a shape file and I used this code but its not working, it gives me an error: code: import arcpy from arcpy import env ...
1
vote
0answers
53 views

Issue on IFeatureDataConverter.ConvertFeatureClass

Does anyone know if it's possible to reuse this method with a "feature dataset" already present ? I'm trying to import multiple shapefiles under a featuredataset inside a fgeodb. Everything it's ...
1
vote
0answers
130 views

ArcObjects - Export map to PDF - graphics not appearing

I'm having an issue with our ArcObjects code for exporting a map to PDF. There is a section of code that adds graphics on to the map (polygons, lines, text etc). This seems to work fine for the first ...
1
vote
0answers
49 views

Icon missing when adding custom combobox command to Toolbar

I have a custom command: class ATL_NO_VTABLE CSliceSelector : public CComObjectRootEx<CComSingleThreadModel>, public CComCoClass<CSliceSelector, &CLSID_SliceSelector>, ...
1
vote
0answers
74 views

GP-Tool: Detect if running in background or foreground ? (ArcObjects)

I got a geoprocessing tool which I want to prevent from running in background, due to some weird crashes that happens. Is it possible to programmatically detect if background processing is enabled ? ...
1
vote
0answers
36 views

Is it possible to add dynamic controls to a dockable window?

I am writing a small application that uses the dockable window. What will happen is that for each layer in the TOC a label and checkboxes will appear within the dockable window. However what do i need ...
1
vote
0answers
40 views

Issues using Arc 10.0 extension recompiled for 10.1

I have a written an ArcGIS extension in C# .Net for version 10.0. I have attempted to recompile this extension for 10.1 and that works. But running the extension in 10.1 is causing ArcGIS to crash. ...
1
vote
0answers
54 views

How to return shapes from geo service?

I have a geo service that seems to finally be working. I have the service setup with a list of Polylines as the returned object. This is what I'm trying to implement but it doesn't work: ...
1
vote
0answers
147 views

ArcGIS Server Object Extension (SOE) RestOperation configuration

How would you accept a call to a RestOperation with string and reply back with a json array of the column names in the table holding this information? So, if string is 'owners' then get names of ...
1
vote
0answers
34 views

Bug in ArcGIS WebADF's IMapFunctionality.DrawExtent?

I'm maintaining an old ArcGIS WebADF-based application that has recently been upgraded to use the 10.1 libraries. I'm not too optimistic about finding a solution as I think I'm the only person in the ...
1
vote
0answers
78 views

Am I correctly projecting a geometry using a WKID in ArcObjects?

I would like to take in any valid WKID for a spatial reference and then project a single geometry to it. The following code seems to be working, but (1.) can someone verify that this is the correct ...
1
vote
0answers
120 views

What is a good way to cluster point data by item counts in ArcGIS?

I have point features that have as an attribute an asset count. For instance, point A may have 3 assets whereas point B may have 300 assets. My goal is to have each point be in two categories: ...
1
vote
0answers
37 views

What is the difference between a Custom Layer & a plugin data source?

You can add custom data to ArcGIS desktop in two different ways: Plug-in Data Sources Custom Layer What is the difference between these two? I'm looking at the possibility of creating an editable ...
1
vote
0answers
71 views

How to create a schematic view of a line feature?

DEAR PEOPLE FROM THE FUTURE: Here's what we've figured out so far… I have a line feature (polyline with curves) in ArcGIS Desktop, and I want to create a linear representation (straigth line) of the ...
1
vote
0answers
210 views

Drawing Curves/Bezier Lines with ESRI WPF Runtime

I'm looking for some pointers on how to draw a curved line or bezier line in WPF runtime. The WPF runtime sample application has a drawing mode for straight line, polyline, and freehand. However, no ...
1
vote
0answers
192 views

ArcGIS (ArcObjects) Windows 7 - 64 bit -support

I have been developing with ArcGIS Cross Platform C++ SDK (with Qt 4.8.2) on 32 bit Windows XP SP3 (development machine). I used to use MapTool Control within ArcObjects on the development machine. ...
1
vote
0answers
91 views

How to create FeatureLayer without Legend in Table Of Contents (TOC) using ArcGIS Engine?

So what I am trying to accomplish is having a IGroupLayer that contains an IFeatureLayer and in the table of contents (TOC) there would be no + next to the feature layer (i.e. there is no legend). So ...
1
vote
0answers
62 views

Using the esri analysisTool Erase class in C#

I am trying to use eSRI.ArcGIS.AnalysisTools.Erase class but I keep getting blank layers. I can get the layer that can be used for the input and the layer for the erase. I don't really understand the ...
1
vote
0answers
131 views

ArcGIS basemap Url and querystring parameters

This is very basic question but might quite important.While creating Arcobjects addin we give Url for basemap as Following: ...
1
vote
0answers
41 views

Class Extension Problem - RelatedObjectChanged not firing

I'm trying to set up class extensions to have 3 feature classes communicate. I have feature classes A, B, and C. A has a simple, forward relationship with B, B has a simple, forward relationship with ...
1
vote
0answers
151 views

ArcObjects: How to Speedup Spatial Query to Feature Layer?

I have ROAD (POLYLINE) Shape File with more than 400,000 Records. I am working on a code which goes like this: Loop through all Feature of the Shape File Take First Feature Find the LAST VERTEX of ...
1
vote
0answers
112 views

Create Polyline feature in Z M Enabled Featureclass

I want to create a polyline feature in Z M enabled featureclass. Point1.x= 1000 Point1.Y = 1100 Point1.Z = 1200 PointCollection.addpoint Point1 Point2.x= 5000 Point2.Y = 5100 Point2.Z = 5200 ...
1
vote
0answers
122 views

How do I get around license error when creating custom tool?

I created a custom geoprocessing function tool according to this link . . ...
1
vote
0answers
157 views

How Display WMS layer in AxMapControl?

I modify application (on c# .Net) based on arcobjects. It is a desktop application. I use object AxMapControl Map1. I can load .mxd map in it. Map1.LoadMxFile(mapName); Map1.Refresh(); Now I need ...
1
vote
0answers
138 views

Eclipse export as runnable jar file error

I am building a destop application , which takes user input for personal geodatabase and finds feature class in it . It works fine till i run it in eclipse , but when i export it as a runnable jar ...
1
vote
0answers
48 views

IQueryDescription SQL Query Returning Limited Records

I created a SQL query that is working in SQL Management Studio, but as soon as I transfer the query into ArcMap's IQueryDescription to try and run it with a User Form, the results that I'm getting ...
1
vote
0answers
45 views

Problem in VersionEdit4.Reconcile4 method

I had an standalone application in which i am getting all the available versions in the database. Based on user filter he selects multiple versions and reconcile it. if ...
1
vote
0answers
43 views

IStepProgressor in While Statement

I have implemented DBScan in vb.net (forced to...). I am using a progress bar to track other parts of this tool. These all are implemented in For loops. Therefore, incrementing the tracker is not ...
1
vote
0answers
181 views

Can't order/sort String columns in ArcMap attribute table

I am new to this site as a registered user and new to GIS in general, and it has proven quite useful to me. I have a very annoying problem with the attribute table being filled by an ArcMap ...
1
vote
0answers
167 views

How to get hold of the Activated Event for the ArcMap window?

I am using ArcObjects 9.3 .NET. In my ArcMap dockable window, I have a single element host hosting a WPF user control (That's the only means of using WPF for ArcMap extensions as far as I know). ...
1
vote
0answers
97 views

InsertFeature on a versioned layer [vba]

I am writing an application that takes data from an Excel Spreadsheet and loads it into an ArcSDE feature class. The Feature class is editable within ArcMap, but I am having trouble inserting a ...
1
vote
0answers
121 views

add an INDEX to an IFeatureClass with ARCGIS Java sdk

I want to add an index to a feature class. To do so, I used the very short and complete example given there: ...
1
vote
0answers
89 views

ArcGIS Add-In Project to Standard Library Project

I have been developing an ArcGIS 10 Add-In tool, but requirements changed halfway through development. Fortunately, this isn't changing any of the code, but I just need to be able to compile the ...
1
vote
0answers
171 views

Quering a ArcSDE featureclass attribute table after joining

I am trying to query a ArcSDE Feature Class after joining using Iqueryfilter I have two SDE feature classes. 1) Subdivisions : which has details of subdivision and districts (parent) 2) ...
1
vote
0answers
107 views

Distance Units of a Layer

I am developing an ArcGIS desktop addin. I am attempting to get the distance units (ft, mm, km, etc.) from a layer in my .mxd and display it on a windows form. How can I do this? I can access the ...
1
vote
0answers
123 views

How can I add data to a shp file attribute table from arcobjects?

I have a code that selects row data from a listview table in VB.net. I have declared that data as a variable and I can see it if I ask it to dispay a message box (see code below). Now I would like to ...
1
vote
0answers
304 views

The underlying connection was closed: The connection was closed unexpectedly, WCF and ESRI Objects

I am getting this error when using ESRI objects like Geometry, Envelope etc in a WCF service. I have a class that some properties (string, int, double) but when I add ESRI type as part of this class, ...
1
vote
0answers
230 views

Using custom contextMenu in Arcobjects(C# and ArcMap)

I added a new custom tree to TOC which looks like this: IObjectClass IFeature IFeature ... IObjectClass IRow ... made context menu using this sample ...
1
vote
0answers
49 views

code for finding gaps between polygon parcels

i am trying to write code for finding gaps between polygons, the idea is to convert polygons to polylines and checking the attribute table, each selected segment that shows two records in the tables ...
1
vote
0answers
70 views

Create Configurable Extension in ArcGIS Desktop

I am creating a configurable extension for ArcGIS desktop 10.1 I am not using Add-on , so please don't suggest add-on. How can I disable some toolbars and commands, when the extension is disabled? I ...
1
vote
0answers
60 views

Joining a In_memory table with an SDE table

I have a in memory table that gets created, and want to join it to a table from SDE. I have tried the following code. Private Sub JoinTables(sdetable As ITable, inMemoryTable As ITable, joinField As ...
1
vote
0answers
161 views

Picture fill symbol fails with a polygon graphic

The following code snippet successfully draws a graphic polygon and fills it with the specified picture fill symbol. When the x values for all of the points are made negative and a repeat call to the ...
1
vote
0answers
68 views

Can't find MapFrame of GraphicsContainer in PageLayoutControl (C#) ?

I am getting a problem: I added element (text, line) in a ActiveView.FocusMap of a PageLayoutControl, then all elements are showed in the MapFrame of PageLayoutControl.GraphicsContainer. If I don't ...
1
vote
0answers
38 views

Problem with deployment of GeoProcessors

I am developing an AddIn which requires lots of Geoprocessing but whenever I deploy any Geoprocessor, the ArcMap crashes and its always with the Geoprocessors only. All other commands are working fine ...
1
vote
0answers
113 views

Interpolate shape (3d analyst) problem

I am making a code on C# to interpolate z values of a line on a DEM. Below is the code that I've written. I have also tried step by step debugging, the program works fine till the Geoprocessor ...
1
vote
0answers
52 views

How do I prevent Arcmap from verifying SQL expressions when using a plugin dataset?

I've written a plugin workspace for ArcGIS. I'm able to compose a where clause containing syntax that my implementation of IPluginDatasetHelper understands, assign it to IQueryFilter.Whereclause, and ...