Tagged Questions

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)

0
votes
1answer
100 views

How to programatically modify the placement properties for labels

Does anyone know how to modify the location of a label programatically? I'd like to make the labels sit directly below the symbol!
0
votes
2answers
489 views

C# Microsoft Visual: Setting text box value to null

I'm creating an attributes table in ArcObjects to show a bunch of values. They save just fine when I put them in, the problem is reverting them back to null. My text values all get turned into a blank ...
2
votes
1answer
55 views

GDB conversion to MongoDB

I'm interested in converting a GeoDatabase to a MongoDB database. more specifically, given I have a GeoDatabase (.gdb files), how do I convert these files to fit into a MongoDB Database (.bson files). ...
-1
votes
1answer
38 views

Trying to use Near to relocate points to the waterways

We are trying to relocate elements that are near the water but not quite on the water and relocation them to the nearest point. I'm trying to build the parameters to use the Near tool ...
0
votes
0answers
64 views

Open attribute table without highlight selected feature in ArcObjects

I am using ArcGIS 10.2.1, I have a need to display the attribute table only for selected features, but I don't want to highlight the selected features. The purpose of open the attribute table is to ...
1
vote
2answers
168 views

Ring to Polygon

I want to get an exterior ring from a polygon. I need to itopologicaloperator.intersect a line with the polygon (exterior ring) to read attributes from the line. I have the original Polygon I can get ...
1
vote
0answers
102 views

Snippets applicable for ArcObjects 10.2.1

I am trying to create ArcGIS desktop add-in using Visual Studio Professional 2012. But when I use ArcGIS Snippets Finder to insert code, I found the applicable versions as follows: ' Applicable ...
0
votes
2answers
58 views

Inverse of Selected Records using ArcObjects? [closed]

What is the Process to find the inverse of selected data from featureclass using vb.net arcobject?
0
votes
2answers
286 views

Find centroids of polyline and create point using Arcobject [closed]

I have one road feature class and one area feature class .What i have to do is i have to create a point at the centroids of the polylines of (road feature class) and find intersection of point with ...
0
votes
1answer
78 views

Query WMS GetFeatureInfo with known latitude and longitude

My issue is that normally, when you want to query a WMS layer, you need to pass width & height of a map, and x,y (in pixels) which describe a point on the map where user clicked. I want to do ...
0
votes
0answers
24 views

Map scaling in ArcObjects?

I am using below code to set mapscale of mapFrame. This frame I am using in PageLayout IMapFrame pMapFrame2 = new MapFrameClass(); pMapFrame2.Map = new MapClass(); pMapFrame2.Map.SpatialReference = ...
1
vote
1answer
45 views

IProximityOperator.ReturnDistance returns incorrect result

I try to implement search of nearest features in ArcObjects.NET (please, don't suggest existing tools like Near) and I use IProximityOperator.ReturnDistance to get distances between features and to ...
0
votes
1answer
24 views

How can one get the value of the point where the AxMapControl is centered at?

I am using the AxMapControl to display a map and I want to record a point where I am and want to be able to return to the same point later on using the CenterAt() method.
1
vote
0answers
23 views

Menu - onCreate Event

In ArcObjects, the Class 'BaseCommand' has 'OnCreate' method(to handle oncreate event). Similarly is there any equivalent method available for Menu ('BaseMenu' Class)?
0
votes
1answer
60 views

ITableWindow2 does not show all records

I have to develop an extension in C# for ArcMap 10.2 and I need to show information from a datatable in an a table window. I can show the table without problems, but I have a problem I can´t resolve. ...
0
votes
0answers
32 views

ArcObjects open report wizard

ArcMap provides a function to create report and after the creation can save as different formats. Now I want to allow user to skip the intermediate steps. I want do the report function using ...
1
vote
1answer
164 views

How to connect to ArcSDE for using the ArcObjects Erase tool in C#?

I want to make use of geoprocessing via .NET ArcObjects, in this case of the "Erase" tool. This is easy once dealing with a local gdb file what I did for feasibility study. The issue occurs when I ...
1
vote
1answer
33 views

How to show multiple features selection button/dialog box on the map using .NET?

If you use the Edit tool to click a location on the map with overlapping features, a small icon Selection chip pops up with a dialog box previewing the selectable features where you clicked, so you ...
0
votes
1answer
112 views

ITopologicalOperator simplify takes more time

The objective is to cut the polygon where the lines are intersect. The polygon has 183182 vertices and taking more time while using simply method so process time is increased very huge. Please suggest ...
2
votes
1answer
57 views

What is the correct way to pass a polygon to a geoprocessing service successfully

We have a geoprocessing service that has been in limbo for 6 months. Finally after a great decision to eliminate one element of the service, we got it working this week. I am now at the point where ...
1
vote
0answers
68 views

Can a custom add-in execute code upon install of the .esriaddin [closed]

I have made a custom add-in using C#.NET(a toolbar that contains buttons) and I was wondering if it is possible to have some code execute upon the install of the .esriaddin file. Basically I want to ...
1
vote
1answer
32 views

Using IGeoProcessor2 to update Oracle Spatial

In the below example the input and out are shape files read from folders.Is it possible to read and write Oracle Spatial Geometry tables? I have ArcGIS,ArcSDE and Oracle Spatial 11g. How to set ...
0
votes
0answers
13 views

ArcObjects - IXMLPropertySet2.SaveAsFile XSL Translate Error

I'm stuck on this issue and really unsure what the problem is. I am trying to simply save the (IXMLPropertySet2)IMetadata.Metadata using the IXMLPropertySet2.SaveAsFile() method with the following ...
0
votes
3answers
243 views

Get Coordinates of selected item on map using ArcGIS Engine

I have IFeatureSelection. Then select from it items by QueryFilter. How can i get coordinates of selected item? (If there are more then 1 object, then select first)? Selected item is Point in ...
1
vote
2answers
189 views

Get IFeatureLayer from ILayer using ArcGIS Engine?

I try to select object from layer by name. I think i found sollution here. First problem i got is that i use GroupLayer. So i made research how to get subLayer from GroupLayer. Sollution is here. Now ...
1
vote
1answer
31 views

Is there a tool in arctoolbox for IDistanceOp.CostPathasPolyline?

Almost all the methods in IDistanceOp have a corresponding tool in the Distance Toolset Spatial Analyst Toolbox. However, I can't find anything in the toolbox for IDistanceOp.CostPathasPolyline. ...
-1
votes
1answer
66 views

After SDE Conversion, cannot open our GP Services to republish them

We have several services that were originally published against a local file-based database (with ArcMap 10.1). We spent the past week converting the data into an SDE database and we are running ...
1
vote
2answers
69 views

Conversion to SDE changes names

I could not find anything on this topic already discussed. We converted our file-based system in ESRI to an SDE instance on Sql Server. We made changes in our code to open using the connection string ...
0
votes
0answers
14 views

Custom Editor Extension - how to maintain original and the new feature [duplicate]

I am editing file geodatabase using edit toolbar. I've writing an extension to listen to edit events. It gives me the new feature with OnChangeFeature. However I am trying to obtain the original ...
0
votes
1answer
43 views

Creating a program for batch snapping polylines and polygons

I currently work with large sums of lines data. I am editing them using different GIS software. I've realized that I can detect node problems in arcmap10.1. I would like to know if it's possible to ...
0
votes
1answer
164 views

How to call a GP service from ArcObjects in .NET using ArcGIS Engine 10.2?

I published and successfully accessed a GP service in ArcMap 10.2, but I couldn't make it work in my .NET program using ArcObjects 10.2: IGeoProcessor gp = new GeoProcessorClass(); ...
0
votes
2answers
78 views

Is it possible to create Runtime content progamatically with ArcObjects

I'm exploring different options for creating an offline mobile application with Esri's technologies. The option that fits my needs the best is to use the ArcGIS Runtime SDK with offline maps created ...
1
vote
1answer
56 views

How do you determine when user is clicking the end point of an edit sketch using ArcObjects?

I am using vb.net working on ArcObjects. One requirement is to pop up a toolbox once the user click the end point (double click the point under editing status). So I want to know how can I know when ...
0
votes
1answer
93 views

In arcgis10.2, can I access arcobjects using python? [duplicate]

I am using python in Arcgis 10.2, but it seems Python cannot meet all my developing demands, from the forum, others recommend to use python to access arc objects,but what they mentioned is the old ...
1
vote
0answers
42 views

Authoring map with advanced gradient symbol for ArcGIS web service?

I need to prepare a web service which will display the gradient of polygon points values. It has to look just like in this picture: link to the picture (please ignore the arrows). Each polygon is ...
1
vote
0answers
49 views

Row ID Column Type : User Maintained - Insert using IFeatureBuffer - ArcGIS 10.2

I am trying to insert a record in SDE feature class (which is not registered with SDE) using Arcobjects 10.2 using IFeatureBuffer.InsertFeature functionality. This throws an error message "The current ...
0
votes
0answers
56 views

How to get RasterToPolygon working

We have a process that is almost working except for this one call ... This is the one tool function that is requiring a FeatureClass and I found code that I thought would work. Unfortunately all I ...
0
votes
0answers
104 views

How to create a feature class from a DEFeatureClass output parameter

I'm writing a geoprocessing tool with ArcObjects for Java. My tool takes in parameters one feature class (from a layer, a shapefile or a GDB) and others parameters. The parameter in output is a ...
0
votes
1answer
105 views

Setting a value on a raster where a polygon intersects cells

I reviewed all of the supposed 'answers' and I just do not see that they really answer my question. Mostly because the ones I'm reading are setting values either inside or outside a boundary. So let ...
1
vote
1answer
25 views

The button icons in the Measure dialog box disappear!

My development environmnet is vs2008 c# + AE 9.3. I use the follow codes to implement the measure tool: ICommand cmdMeasure; cmdMeasure = new ControlsMapMeasureToolClass(); ...
0
votes
0answers
126 views

Using Code Block in Field Calculator with ArcObjects (VB.NET)

I'm having trouble using a code block in the Field Calculator with ArcObjects. Ideally, I'd like to be able to read a text file which contains the Python code for the code block. I've tested this code ...
0
votes
0answers
53 views

Load Featureclass from ArcMap to a Database (sde) with Arcobjects

I have to develope an extension for ArcMap 10.2 that has to get spatial data from an Oracle Database, edit it and finally upload the changes. I create a scratch featureclass whit the data, I edit the ...
0
votes
0answers
13 views

Contextual menu items works only once (axTocControl)

I am developping a VB.net application with MapControl and TOCcontrol ArcObjects controls. I have added a contextual menu with two commands that work fine. The problem is that when I select the same ...
1
vote
1answer
65 views

How to generate StreetFrom and StreetTo data from street segments?

Background: I have a polyline feature class of about 4000 street centerline segments for which I would like to add data on what streets the segments intersect with. I would like to add some new ...
0
votes
0answers
120 views

ArcObjects SDK 10 .net framework create a Network dataset Exception from HRESULT: 0x800422D4

I am trying to work through the "How to Create a Network Dataset" using the ArcObjects SDK 10 for the .NET Framework example. but the line: Dim netDataset As INetworkDataset = ...
1
vote
1answer
90 views

Learn ArcObjects

Is it mandatory to have ArcEngine Licence to learn ArcObjects?I was able to develop Addins for arcmap but I need in-depth knowledge of ArcObject so started exploring MapControl Application but it ...
1
vote
1answer
64 views

Remove a custom contents view from ArcMap TOC in VB .NET?

I am using the ESRI sample, TOCLayerFilterVB2010, which implements a custom TOC view for map layers, as a prototype. For my purposes, I need to be able to turn it on/off, meaning add and remove that ...
3
votes
1answer
82 views

ArcMap add in constructor called not called on start up

I am converting some old tools to the new Add-In format and have noticed that the constructor is no longer being called during startup, instead it is being called when the tool is clicked for the ...
0
votes
2answers
73 views

Need help with ArcMAP API to find coordinates of points in point shape file

I need to find some reference or even C#.Net example code of how to use the ArcMAP 10.2 programmers API. I have got a CSV file with X, Y and Elevation coordinates of soil samples and I want to write ...
0
votes
1answer
170 views

Issue with initializing ArcObjects Interface and classes

I was going through ArcObjects example on following linkWalkthrough_Building_custom_UI_elements .I followed same steps but I was getting error while initializing objects for following code. ...