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
75 views

Mysterious Data loss after compressing SDE database

I suffer sometimes from data loss in SDE database exactly after compressing database. i mean by data loss that some data remains in its prior state before edits, but this problem do not affect the ...
-1
votes
1answer
81 views

On Mouse Up Event in ArcMap Add-In

Does anyone know how to wire up mouse events on a map document? I have found a bunch of example code on how to wire up Add-In tools, but the Add-in I'm creating is a button. It should be as easy as ...
2
votes
0answers
53 views

How to add multiple shapefiles with VB.Net

I have created a toolbar add in for arc with a button that opens a form with 3 selections that are shapefiles, once the shapefile is selected I click the Add Layer button. Currently I can only get one ...
1
vote
1answer
52 views

Does charactermarkersymbol work differently in linux?

I have just started working in GIS. i am trying to project an aeroplane glyph font (character index=111) using charactermarkersymbol but unable to do it in linux. I am getting the same spherical ...
0
votes
1answer
33 views

ArcObjects ExportMapImage modifies image extent

I am trying to extract a map image at a certain range. I am using IMxdServer's ExportMapImage method, documented here. Here is the relevant snippet of code: IMapDocumentPtr ...
0
votes
1answer
43 views

How to change a schema name within a MXD with ArcObject .NET?

I have a MXD file where all layers point to an Oracle Spatial database. Recently our DBA changed the schema name. So now my MXD file has broken links, each time I open it, all my layers have a ...
0
votes
1answer
128 views

Are ArcObjects SDKs for .NET free to download?

Can anyone can suggest where I can freely download ArcObjects SDKs for ArcGIS 10.2 version?
5
votes
1answer
161 views

ArcObjects edit/update ODBC Oracle table

Can an ODBC Oracle table attached by OLE within ArcMap be edited/updated by using ArcObjects? If so, what are the procedural steps for doing this? Are there code examples out there showing how to do ...
0
votes
0answers
35 views

ArcGIS Engine Map Control application

I am new to ArcGIS. I am trying to create a map control application but when I am adding my digitized map in map control it is only showing raster data (i.e. picture map) not the digitized features ...
0
votes
0answers
73 views

“ArcGIS encountered a serious application error” after Closing

i have developed my own add-in for arcmap 10.1 with VS2010. it works fine in my computer but not for other computers. i mean the program goes fine in everything but after closing Arcmap the error ...
0
votes
1answer
53 views

split polyline with point and add vertex on that point as well as reflect in attribute table?

I am new to ArcGIS. I am using the ArcObjects SDK and I couldn't understand how to: Add vertex to that clicked location as well Add attributes in that attribute table. Can someone suggest some ...
8
votes
6answers
3k views

Is there an existing library for converting ArcGIS Features to Json?

Is there an existing library for converting ArcGIS IFeature types to and from Json/GeoJson?
3
votes
2answers
616 views

How can I deserialize json to create an IRecordset?

I've got a Silverlight client that serializes a FeatureSet and sends to an SOE. I'd like for the SOE to deserialize the json into an IRecordSet. ESRI.ArcGIS.SOESupport.Conversion has a method for ...
0
votes
0answers
11 views

Change layer border in arcmap through arcobject [duplicate]

I wish to change the border of layer in arcmap through arcobject vb.net program .Through my program i have added layer to arcmap now i want to change its property .Can anyone please tell me where to ...
0
votes
1answer
66 views

ArcGIS 10 export metadata to XML programmatically

I have some code that exports metadata from an iMetadata instance to a standalone XML file. This code uses the ExportXML type and the iMetadataExport interface (see below). Private Sub ...
1
vote
0answers
32 views

How to learn basics of ArcObjects? [duplicate]

I wish to start learning ArcObjects and I have some basic knowledge in .NET. I am looking for materials (books, e-books) to start learning it and have heard about "Getting To Know ArcObjects" by ...
2
votes
1answer
176 views

ArcObjects 10.1 Error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE))

I am trying to execute the below sample code Copying or loading data while preserving GlobalID values from ArcObjects 10.1 help. I am creating IWorkspace from FileGDB-Path using ...
1
vote
1answer
40 views

How to make a freehand polyline option from drawing toolbar enabled throughout in arcmap

Following code selects freehand polyline as default draw tool on first go: final ICommandBars commandBars = app.getDocument().getCommandBars(); final UID windowId = new UID(); ...
0
votes
1answer
51 views

ArcObjects: How to get the Cell Size from the raster.MeanCellSize call?

When I setup the call to MeanCellSize -- for which ESRI documentation states will return the mean average of the cell size -- all I get is an IPnt object. I've played with a ton of the various casts ...
1
vote
1answer
57 views

Arcobjects: how do I find if a line intersects a polygon?

I have one closed Polyline: "rectangle" and an open Polyline: "line". Both Polylines may be Z aware. What is the best way to find if the "line" intersects the "rectangle" in the XY plane? That is I ...
2
votes
2answers
551 views

ComException -2147467259 Arcgis 10 VB.net +Geoprocessing

I have a problem when i execute GeoProcessing in ArcEngine 10 with VB.net i had create the toolbox : Models.tbx and Model Process : disolveRoute with 2 parameters My Function is : Sub ...
0
votes
2answers
83 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 ...
1
vote
0answers
37 views

How do I use VB .net to export the ActiveView to geotiff using Arcobjects?

I want to program in vb.net and Arcobject the exporting of a map to geotiff. What I have done so far is export the map to TIFF but I am not getting Geotiff. When we do it manually we check the write ...
0
votes
0answers
21 views

Can't open Dgn file with CadWorkspaceFactory?

I am trying to open Dgn File to get data. But I got the error: "Error HRESULT E_FAIL has been returned from a call to a COM component ?" when using OpenFromFile statement, please see my codes: Type ...
0
votes
0answers
25 views

How to access input parameters (layer name,field name) in rest SOE?

I want to access input parameters in my SOE(Server object extension) code which I am writing in arcobjects using C#. I have constructed the complete URL(including layername id and field name) for ...
1
vote
1answer
102 views

Why is my OnChangeFeature event not firing in my parcel fabric editor extension?

I have an edit extension that listens to events that happen during an editor session. I have wired it like so: void Events_OnStartEditing() { //Since features of shapefiles, ...
0
votes
1answer
16 views

Create Cost Array ignores NoData!

After a great deal of research here is what is happening: We select two points on a hydrography map with an island inbetween. It is expected that the CostDistanceWithPolyline would return a line that ...
1
vote
2answers
19 views

working with hydrography raster the cost array ignores the end of water

We have our maps laid out using hydrography maps from NOAA. We had to run the graphics through several steps to create the water feature raster. I have a process that pulls in that raster, sets a ...
0
votes
0answers
60 views

Feature To Polygon by Attribute

Hey everyone How are things? I am having a problem getting my head around an efficient way to create polygons from polylines using an attribute. I would like to get some pseudo code, suggestions as ...
0
votes
0answers
41 views

Arcobjects/Arcgis Engine — geoprocessing within a buffer?

I have a point layer and a polyline layer (each contains more than 100k records), I would like to process the polyline layer within point buffer zones. For example, for each point in the point layer, ...
2
votes
1answer
121 views

How to tell if an ArcGIS Service is secure?

I am creating a .NET REST SOE for ArcGIS Server 10, and I will need to determine if a map service (or image) is secure or not. Is there a property on a MapService that would tell me this in either ...
2
votes
2answers
256 views

Writing shapefile metadata (shp.xml) programmatically

I want to write the Metadata for a Shapefile, which are saved in the ".shp.xml"-File. I know, I can look at and write those Metadata with ArcCatalog, but I want to do this programmatically. Is this ...
2
votes
2answers
636 views

get valules for all fields from selected features

The following code works for retrieving values within a particular field(Name1), but I want to retrieve mulitple fields. Am I to create multiple variables for each field? IMxDocument pMxDocument = ...
0
votes
0answers
27 views

Can we change envelope.expand parametres from double to metre

I wish to find all those line intersecting from point which are 8 metre away from the point.Let me expalin you what i did so far- pEnvelope=Frompt1.envelope pEnvelope.Expand(0.5, 0.5, true); And ...
2
votes
3answers
398 views

ArcObjects identify tool [closed]

I'm using ArcGIS 10.1 and developing an application using visual studio 2010 and ARCObject SDK 10.1. I would like to use identity tool in my application and if not possible I want to execute a query ...
0
votes
0answers
33 views

Find Gap between two Continuous One Way street in Road Feature Class

I wish to find gap in the continuity of One Way street.I have One Road(Polyline) Feature Class and one way road are represented by one column called ONE Way.If ONE WAY="Y" that means road is one way ...
0
votes
1answer
38 views

Is it possible to use the ArcObjects Runtime SDK on a Windows Store Application (windows 8, 8.1)

I'm looking to develop a simple windows 8 tablet application with arcobjects. Is it possible to use the ArcObjects Runtime SDK? If not, is there an ArcObjects SDK for Windows store Applications?
3
votes
0answers
327 views

How to change page size of pagelayout for printing custom size?

I have a A3 printer (size: 297mm x 420mm). But I am wanting to print my pagelayout with paper size is: 265mm x 380mm I tried to change the page size of my pagelayout to 265mm x 380mm by using the ...
0
votes
0answers
13 views

How to code ESRI.ArcGIS.DataManagementTools.WorkspaceToRasterCatalog?

I am trying to use ESRI.ArcGIS.DataManagementTools.WorkspaceToRasterCatalog to load large number of raster files into RasterCatalog. I am not sure if there is any example showing how to create ...
1
vote
1answer
124 views

How to create point feature from longitude/latitude coordinates using ArcObjects and VB.net?

i Want to add a point feature to my feature class. an i want to enter the coordinates manually. here is what i am trying to do pworkspaceedit = pFeatureWorkspace ...
2
votes
3answers
189 views

How to calculate Polyline length in kilometres without changing projection from WGS84 (using ArcObjects)?

I have Road (polyline) feature class and I wish to find those roads whose length are greater than 500 kilometre. The feature class projection is in GCS_WGS_1984 and I do not want to change the ...
1
vote
1answer
56 views

How to add new menu item to ArcCatalog using ArcObjects?

I'm trying to a add a new menu drop down to the ArcCatalog menu bar. I tried to use the built in ArcGIS base menu template in Visual Studios 2010 but no luck. I also tried to manually add the dll ...
2
votes
3answers
144 views

How to find duplicate nodes in feature class using ArcObjects?

I am unable to find duplicate nodes in a Road network through my program. I have a polyline feature class as Road, and i want to find duplicates nodes in it. How can I generate a report of duplicate ...
0
votes
0answers
79 views

How to create a raster dataset from a known decimal extent?

I have an input raster pInputRaster. I want to create a new raster dataset called pOutputRasterDS that is the same width, height and cellsize as my input raster dataset (I'm not worried about ...
0
votes
1answer
28 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 ...
1
vote
1answer
29 views

JSAPI help with query returning results from feature layers with a specified named column

I have a workflow that results in generating a report for certain features with a column name. Goal is to return only results from feature layers in my map service which have a specified column name. ...
1
vote
1answer
44 views

.net Geoprocessing Tool Grid Control

Does anyone know if grid control used within the batch mode of ArcToolbox available via ArcObjects (see image 1)? I have used the IGPValueTable control (as used in the Union tool, image 2), however, ...
2
votes
1answer
88 views

Writing an algorithm to find the most efficient line angle at which to draw lines

I've written a tool that fills a polygon in ArcMap with parallel lines at a user specified distance apart and at a user specified angle, written in vb.net and arcobjects. What i'm looking to do next ...
3
votes
3answers
161 views

Building Custom Programs with ArcObjects

I found another thread at ArcObjects Resources that asked for general ArcObjects resources but most of the resources in that thread are obviously about building add-ins for ArcMap. I need help ...
1
vote
0answers
44 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 ...