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
188 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
1answer
41 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.
0
votes
2answers
93 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
68 views

How to merge 2 shapefiles in ArcObjects

Using ArcObjects SDK for Java, I have the full path of 2 shapefiles: String in1, String in2, and I want to merge them using the geoprocessing tool Merge. I tried to several methods: ...
0
votes
1answer
137 views

Export data from .mxd file to ms sql database

I am using ArcGIS product (v.10.1). I have also tempalte of Maps from ArcGIS. But i need to get data from maps (.mxd files) to store it into MS SQL database. Explanation: I have application that has ...
0
votes
1answer
98 views

How to use Intersect tool in ArcObjects

I'm trying to use the Intersect tool in ArcObjects SDK Java with two feature classes. Here is my code: public void intersectTwoFeatureClasses(Object in1, Object in2, Object out) throws ...
0
votes
1answer
147 views

How to list all of feature class in SDE?

I am getting a problem: my SDE contains some feature classes, but after using the statement: var namesEnum = workspace.DatasetNames[esriDatasetType.esriDTFeatureClass]; var tempName = ...
0
votes
2answers
137 views

How to get the current map from a geoprocessing tool execute function?

I'm making a geoprocessing tool with the ArcObjects SDK Java 10.2. I need to modify labeling colors of a layer of the current map. Is it possible from the execute function to access the map currently ...
0
votes
1answer
368 views

adding custom tools to a toolbar

I have created 3 custom tools, using vb.net, to run in ArcGIS. They all runs fine.They are inside a same project, in three different tool classes . Now i want them all to be added in a single toolbar, ...
0
votes
2answers
177 views

Geoprocessor: using arc toolbox in vb.net

i am doing the following in order to use the predefined tool points to line in arctool box Dim ptoline As ESRI.ArcGIS.DataManagementTools.PointsToLine = New ...
0
votes
1answer
111 views

How do I create an IFeature object from an IPolyline or ILine object

I am having some problems with some code i am trying to write. The application i am creating allows the user to click on the map and a point will be createD, when they click again to create another ...
0
votes
1answer
165 views

How do I access a feature layer's “displayField” from a REST SOE?

Understanding I can't use the 'ESRI.ArcGIS.Carto.IFeatureLayer' interface, how can I get to a Feature Layer's "displayField" from a REST server object extension using arcobjects C#? ...
0
votes
1answer
51 views

Handle string or int in server object extension

How would you also check to see if the value you are passing into into an SOE is an integer as well? This checks for string, but returns 0 when passing number: string searchValStr; int ...
0
votes
1answer
57 views

How to access functions from another project in vb2010

I have written a project which has common functions in Visual Basic 2010 i.e. Visual Studio 2010. for e.g. Public Function FlashPolygon(pDisplay As IScreenDisplay, pGeometry As IGeometry) Dim ...
0
votes
1answer
136 views

Generate annotation for features in ArcObjects

I need to programmatically generate annotations for features. I don't need the actual annotation feature, just the text placement, size, angle, etc. properties that are generated. Those attributes ...
0
votes
1answer
171 views

How to delete raster dataset from sde base programmatically

I use sde database, registered with ArcGis Server 10.1. Sde connection is direct. Database container is postgres. There is a raster dataset in this sde base. I can open this sde database ...
0
votes
1answer
142 views

Rotating raster grids using ArcObjects changes cell size in ArcGIS Desktop?

I am using ArcObjects, namely RasterGeometryProc, to apply rotation on grids. The transformation works fine. However, when looking at the grids properties in ArcGis, the cell sizes has changed. ...
0
votes
1answer
199 views

How to zoom in/out selected elements of MapControl?

I have a mapcontrol that includes many elements: text, line. I used this code to add elements into mapcontrol: pGraphicsContainer.AddElement(pElement, 0); I can use zoom button to zoom in/out the ...
0
votes
1answer
97 views

Finding points in extent using VBA

Is there a way to select a point from my map's current extent? I want to use ArcObjects to tell me if there is at least one point visible in my extent. I'd like to do this entirely in VBA, and without ...
0
votes
2answers
429 views

How to programmatically remove a donut hole from Polygon in arcobjects

I have a polygon IPolygon4 with a hole in it, as you can see. How can I get rid of the donut hole, and have the whole thing be one simple polygon with 5 vertices. Here are the constructed WKT ...
0
votes
1answer
888 views

Get coordinates from current view using arcobjects

I'm wondering if there's a way to get the longitude/latitude coordinates from the center of a data frame? The problem I'm faced with is this: I want to set a bookmark and have ArcMap tell me the ...
0
votes
2answers
302 views

Destop application using arcobjects library

I develop a destop application with following environment - 1) Java jdk version 6 update 25 (for 32bit ). 2) Java Arcobjects Library. 3) Window Xp. Its working smoothly on 32 bit Computer , my ...
0
votes
3answers
336 views

For a SDE FeatureClasses list all Roles that have been Granted any Privileges on it, and which Privileges each Role have on it

I have searched through the ArcObjects 10 SDK API and googled, but havnt been able to find what I am looking for, so thats the reason for me posting this question. Q: How can I for a SDE ...
0
votes
1answer
204 views

Determing partially Overlapped features from two linear feature classes

I have been trying to find object ids of features that overlap partially. Input taken is two linear feature classes , I have tried IRelationalOperator Overlaps methords , but it seems that it only ...
0
votes
1answer
2k views

FeatureClass to IFeatureLayer

I am trying to covert my feature class to feature layer so that i can pass "IQueryByLayer" over my feature class. Till now i have my feature class --- FeatureClass className = new FeatureClass(cc); ...
0
votes
2answers
863 views

ArcObjects - accessing layer data table from C#

I've spent all day yesterday trying to trace all my the errors but I'm just completely stuck now. Google isn't helpful either. I'm trying to create a small C# tool which opens my MXD file in ...
0
votes
1answer
283 views

How to add an existing feature class to a new feature dataset

I have a feature class. IFeatureClass AOIfc = AOIfws.OpenFeatureClass("BrigadeAOI"); I need to be able to put this feature class into a feature dataset that is newly created. The following line of ...
0
votes
1answer
85 views

Get Conflict Value from ConflictWindow

When I reconcile a version in Arc Map, if it has any conflicts it will stop the reconcile operation and open a window. The window shows the conflicts of that particular version with red dots. My task ...
0
votes
2answers
2k views

how to create table and layer in c#

I have used Make XY Event Layer to Creates a new point feature layer based on x- and y-coordinates using python and it worked for me. Now as a need of my project i want to apply the same in c# using ...
0
votes
1answer
213 views

Can I access the request URL in a AGS Server Object Extension (SOE)?

I would like to obtain the full URL of a REST request inside of an ArcGIS Server SOE. I would like to return the full URL to an output file. But, the service may be exposed on different servers or ...
0
votes
1answer
152 views

Featureclass search failing in C++. But working in C#

I need to perform search on a FeatureClass using ISpatialFilter for a given Point (x,y). I wrote a program in C# to do that and its retrieving the features as expected. But the similar program in C++ ...
0
votes
1answer
293 views

Rendering layer in ArcMap using ArcObjects and Python?

I succesfully wrote a script to render a Uniquevaluerenderer in a layer in ArcMAP using symbols from 4 parameters (values) read from the attribute table of the layer. I used ArcObjects and VBA, but ...
0
votes
1answer
230 views

How to set Symbology On Create Feature Window using arcobjects?

programmatically I set the custom symbology for the layers. When i started the edit session programmatically, the create feature window did not show the respective symbology assigned to feature. pl ...
0
votes
1answer
216 views

Can't load Mxd file in MapControl?

I used below codes to save IMap into byte[] (to store in my database), but I can't load it again, are there anyone know what's wrong ? public byte[] SaveMap(AxPageLayoutControl pageLayOut) { ...
0
votes
1answer
216 views

Using ESRI.ArcGIS.Display.ITemplate to draw cutom lines?

I am using ESRI.ArcGIS.Display.ITemplate to draw custom lines such as dot/dash lines on a map control. Then, I used below codes ESRI.ArcGIS.Display.ITemplate templateCls = new ...
0
votes
1answer
201 views

How to get the absolute raster row / column of rastercell when using ArcObject Raster Cursor?

When using the ArcObject RasterCursor (see snippet below), how do I get the absolute row / column of the current pixel value? IRasterCursor rasterCursor = raster.CreateCursorEx(null); do { ...
0
votes
1answer
77 views

How to use a property of a different interface for a created ArcObject

I have created an arc based three points (from point, through point, and to point). To create the arc I used this code: import arcpy, comtypes.client import comtypes.client.CreateObject as ...
0
votes
1answer
220 views

Setting a path to a Variable to be able to open a new mxd? [duplicate]

Possible Duplicate: How to define Subroutines and functions? I know its strange but I need to be able to open a new mxd into an existing one. Yes, it can be done. All I need to do is set a ...
0
votes
1answer
800 views

Spatial index grid size is invalid

I am trying to move a point feature programatically, but on stop operation, I am getting this error : spatial index grid size is invalid Kindly help. Regards
0
votes
1answer
78 views

GxFilterWorkspace allows a folder that is not a IWorkspace or IGxDatabase

I am trying to open a ArcGIS file browser. And For this, I used IGxDialog interface's DoModalOpen method. To specify what the user can select using a GxDialog browser is based on the filters ...
0
votes
1answer
274 views

The remote server returned an error: NotFound

Our Sliverlight application (using V2.4) make a call to custom GP Toool which executes huge process which last for more than 10 min (avg), but before that client gets timed out. After going through ...
0
votes
1answer
103 views

Unable to update integers in PGDB table field using ArcObjects

Dim pLinerow As IRow pLinerow = ptable.CreateRow pLinerow.Value(pLinerow.Fields.FindField("IS_CLOSED")) = 0 when this code is executed, the below mentioned error is returned, "Error HRESULT ...
0
votes
1answer
125 views

Determine what value used in Editor.OnCreateFeature

How can I determine what Value-Layer (not the layer itself, but the different colors for different attributes) was used in ArcGIS CreateFeature Event, when I insert a new feature using the Editor?
0
votes
1answer
457 views

Shapefile Arribute Table to Datagridview

Can you please let me know how to display a shapefile attribute table in C# DataGridView? Thanks
0
votes
2answers
175 views

Creating an INFO table using ITable in Arc (Java)

I'm trying to set up an info table in an addin for ArcGIS 10. I'm using Java and Eclipse IDE. The code I have is here: public class Tables { String database = "C:\\GIS"; String nameOfTable = ...
0
votes
1answer
217 views

Creating a report from features that have been selected

I'm in need of some guidance, I have created an application where the users does the following workflow Enter Postcode Zoom to Postcode Create a buffer at specified distance Spatial Query to find ...
0
votes
1answer
336 views

Pros and Cons for developing GIS functionality in ArcGIS Web API (Silverlight) or ArcGIS for Desktop

I have an application coming together using the ArcGIS Server API for Silverlight. The app, currently, takes in two geometry points from the user and passes the geometry to an ArcGIS Elevation server ...
0
votes
1answer
502 views

How to edit my attribute table with VBA

before I start you should know that I am a bloody newcomer when it comes down to coding. I am sitting on some university tasks regarding VBA and ArcGIS: My next task is to create a code snippet that ...
0
votes
1answer
902 views

how do i calculate polygon area with arcobjects?

i'd like to develope an application with arcengine that can calculate area of a polygon . i wrote the below code to select a polygon in combobox for (int i = 0; i < pmapcontrol2.LayerCount; ...
0
votes
1answer
328 views

Cannot run toolbox model from button

I have a button on my toolbar that when clicked, will run a particular model, I have copied the code from here ...