0
votes
0answers
26 views

Dynamically created toolbar doesnt show in Toolbar in ArcMap

I am trying to troubleshoot an application that allows creation of a tool bar based on a config file, which contains information about the tool bar like Name, ProgId, ESRIType, CLSID, Tooltip etc. ...
2
votes
1answer
14 views

Access CommandItems programmatically with ArcObjects in ArcGIS Engine application

I'd like to programmatically execute a command in my ArcGIS Engine application with ArcObjects. I know in Desktop I would do it like this: ESRI.ArcGIS.Framework.ICommandBars commandBars = ...
0
votes
1answer
20 views

ArcObjects - Geometry type select with Vbnet

How can I read the geometry type of shapefiles with ArcObjects and Vbnet? I want to check whether it is a point, polygon, or a line.
1
vote
1answer
38 views

ArcMap - WMS service layers not drawing

I'm using ArcObjects .NET to load WMS 1.3.0 service layers from our ArcGIS server into ArcMap 10.2.2. The process of connecting to the server and adding layers works fine, however none of the layers ...
0
votes
0answers
11 views

Making point selection tool using ArcObjects with VBA? [duplicate]

I want to make a selection tool that I can use to select a feature point in ArcGIS for Desktop so I can combine it with a form that I just made to display the form after the feature selected. I use ...
1
vote
1answer
39 views

How to get the data in dbf file while creating shapefile using arcGis

I am using arcObject dll to create shapefile. I am successfully able to create the shape file but I am having some issues with populating the shapefile data into .dbf file. At present the .dbf file ...
1
vote
1answer
59 views

How do I programatically edit the layer 'Display Expression'

I'm wondering if someone has or knows where a tool is to edit the 'Display Expression' of a Layer, or more specifically, a TableView, in ArcGIS Desktop. I know that it can't be accessed with Python, ...
0
votes
0answers
33 views

How can I correctly delete a join from featurelayer using arcobjects?

If I create a join using ArcMap dialog definition query can be changed if joined layer contains a definition query. For example, layer A has definition query "A", layer B has definition query "B", ...
3
votes
2answers
69 views

Automate Naming of Stormwater Network (Geometric network)

We have a geometric network representing our stormwater network. For anyone unfamiliar with stormwater drainage networks, they are composed of pipes and pits (simplified for this question). Pits are ...
0
votes
0answers
33 views

vb.net arcgis add in, log4net works for the exe file, does not work for the esriAddIn

I want to use log4net in my vb.net for ArcGIS add-in. After I build the solution, it generates a .exe file and a .esriAddIn file. The problem is when I run the .exe file (without open ArcMap), the ...
1
vote
1answer
21 views

ISet.Next() not moving forward

I am trying to move features programmatically using IFeatureEdit:MoveSet() method. It works fine if I simply move one feature, but if I add more than one feature (from another FC of course), it hangs. ...
0
votes
1answer
80 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
0answers
31 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
84 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
45 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
64 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
36 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
19 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
28 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
32 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 ...
1
vote
1answer
49 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 ...
1
vote
0answers
34 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 ...
0
votes
0answers
47 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 ...
1
vote
1answer
50 views

Display DegreesMinutesSeconds on status bar

I have used status bar to display x and y coordinates in esriDirectionUnits.esriDUDegreesMinutesSeconds form. I have created the code like this statusBarXY.Text = string.Format("{0}, {1} {2}", ...
0
votes
0answers
23 views

ContourList error

i use ArcGIS Desktop 10.1 in Windows 7 and develop with visual studio 2010, .net v3.5. This is a quite strange problem. I have a Console Application that calls this simple function: public void ...
1
vote
3answers
71 views

How to get WorkspaceCategory for a given path

I need to determine the WorkspaceCategory string (IGxDialog.FinalLocation.WorkspaceCategory) for a given path. I need this to create appropriate WorkspaceFactory and finally be able to create multiple ...
2
votes
1answer
91 views

Unknown coordinate system warning when programmatically adding layer

I have another interesting question for you. I have data with unknown coordinate system. When I add this data using a standard tool(File->Add Data) in ArcMap, a warning dialog appears. It looks like: ...
0
votes
1answer
56 views

Sort Grid binded to ArcDataBinding.TableWrapper in ArcObjects 10.1

I have a Datagridview which is binded to a ArcDataBinding.TableWrapper. So, I want it to be sorted when ColumnHeader is clicked. I tried to do the following on Click event: ...
1
vote
1answer
114 views

How to get a list of map scales programmatically in ArcMap?

I need to get all map scales, which are shown in the ArcMap scalebar. I need list of value, something like: 1:1500 1:3000 1:6000 1:12000 1:24000 1:50000 1:100000 Does anyone know how to get it?
0
votes
1answer
146 views

IFeatureLayer.Seach() throws exception HRESULT:0x80041538

My code as bellow give error HRESULT:0x80041538 whenever I use GROUP BY or ORDER BY postfix. Trying in Personal(.mdb) and MSSQL database datas - same result. What can be the reason. Asked similar ...
3
votes
2answers
59 views

How to programmatically Summarize an ITable?

Is there a way in ArcMap plugin to make Summarize-function like functionality programmatically? There is a feature layer, lets say Building, And it has fields like OID, FloorNumber, Color, Height ...
0
votes
0answers
39 views

mapcontrol not reflected when i split polygon with polyline?

I have created a split tool which will create polyline and based on this line i want to divide that polygon into two separate polygons. i have write below code it will create left side and right side ...
0
votes
0answers
39 views

Change the Name,Tooltip of builtin Commands

When I change the name of a builtin command using the following code, I get the error, "this method cannot run on builtin commands". ICommandItem BuiltinCMD = ...
1
vote
0answers
347 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 ...
2
votes
0answers
93 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 ...
0
votes
0answers
187 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
104 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 ...
0
votes
0answers
73 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 ...
1
vote
1answer
81 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 ...
4
votes
1answer
123 views

How to call ESRISignAddIn Silently (no UI)?

I am creating a build workflow and I ran into some problems. When I call ESRISignAddIn.exe from the command prompt it is throwing up a dialog saying "Add-In successfully signed". I was expecting it ...
3
votes
4answers
221 views

Can Voronoi/Thiessen polygons be created using ArcObjects without 3D Analyst license?

Has any body used ITinNodeCollection to generate Voronoi/Thiessen polygons. I have a point featureclass for which I want to create Voronoi/Thiessen polygons. Does this require 3d analyst license? I ...
2
votes
0answers
38 views

Is it possible to preview a raster catalogs raster field in a Windows form?

What I want to achieve: The attribute table for an ArcGIS Raster Catalog contains a raster field. When a raster field cell is clicked with the mouse, a preview window displaying the raster associated ...
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
votes
1answer
101 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 ...
0
votes
2answers
233 views

C# code to display result of spatial query on arcmap

the problem is i have to display those points on arcmap that lies inside the envelope.I am explaining what i have done so far. I have one point feature class say featureclass ,open it and used one ...
0
votes
1answer
158 views

How to add features to geometry collection using .ShapeCopy

I'm having an issue with trying to complete the loop of adding the selected geometry to my geometry collection. The goal is finding streets that intersect the given streetname (then locating the ...
3
votes
1answer
59 views

Store user settings in map document?

I have created a custom tool for ArcMap with .NET and would like to know if there is any way to store user defined settings in a MXD. The tool simply draws a graphic circle of a certain radius with ...
2
votes
1answer
55 views

How to get a collection of georeferencing control points in an ArcMap document?

I have created control points (i.e. links) using ArcMap's Georeferencing toolbar. How can I programmatically retrieve a list of these points? I'm looking for something like an enum of the links you ...
4
votes
2answers
139 views

Maximum length of WHERE clause with IN statement

I need to get all features from feature class where their field value matches to input array. To achive this one may set IQueryFilter.WhereClause property similar to 'FIELD_NAME IN (array[0], ...
0
votes
0answers
55 views

Command doesn't show up on ICommandBar

I'm trying to put a custom command into the Help menu on startup if it isn't already there. This is my code to do so: private void OnCreate() { // other stuff in OnCreate()... // registering ...