0
votes
1answer
32 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
0answers
15 views

how to call click event on marker(may be a simple fill symbol elementt or picture symbol element) element using java arc objects

Hii I am new in GIS and java arcobjects. I have to call a click event on simple marker element on mapbean using java arc objects but i dont know how to do it. in my application I put approx 200 ...
-1
votes
0answers
36 views

How to set input parameters for geoprocessing task that uses Intersect tool?

I have tried to create a geoprocessing task that allows the intersection of two or more layers from my map service. For that I created a model, using ModelBuilder, and I published it as a ...
0
votes
0answers
41 views

import gpx file to shape file

i am using arcobject .net10.1,arcmap10.1,arcgis10.1. i want a shape file which is created from .gpx file(GPS file) .i have search every where but cound'nt find any information related to my query. i ...
0
votes
0answers
17 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 ...
0
votes
0answers
70 views

Join and Calculate vb.net

Im trying to join an excel table to a shapefile and then calculating those fields using vb.net. The code I have written has no errors, but won't work when I try it in ArcGIS 10.1 and I'm out of ideas. ...
1
vote
0answers
34 views

How to resolve an InvalidCastException for two Objects of the same type in an ArcMap AddIn?

I'm trying to work through an InvalidCastException that is being thrown when a form is displayed from an ArcMap Addin. This is a fairly recent occurrence and I haven't identified what has changed that ...
1
vote
1answer
47 views

I have an ArcObjects 10.1 c# toolbar working, but when I add an addin extension to project the Startup function is never hit. why?

I have created an Esri Addin toolbar in VS2010 to add layers and search an address file, this works fine. I want to add an extension that will replace text on a template MXD with the current users ...
0
votes
1answer
22 views

Can I avoid decimal conversion calling CostDistance

Our client asked us to incorporate blockages and delays for movement of boats and ships on the local waterways. In our one process we are creating polygons of the distance a boat can move at top ...
0
votes
1answer
42 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: ...
0
votes
0answers
33 views

Problem after buffer is created in arcobject.net?

I have arcmap10.1. and arcobject10.1 .net. I have created a single buffer successfully and it also display in axtoccontrol but the axmapcontrol display that buffer on upper side off all layer so ...
1
vote
0answers
58 views

ArcEngine BaseTool derived classes stops receiving OnKeyDown messages

I have two BaseTool derived classes in a custom ArcEngine application. Both tools do the same thing: start a INewBezierCurveFeedback on a first mouse click and then stop it and return the resulting ...
1
vote
1answer
84 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 ...
1
vote
0answers
173 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 ...
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
74 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 ...
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
66 views

How do I perform a raster overlay analysis in ArcObjects?

Using the "IMultivariateOp.MLClassify" Method, it will create a field call "Count",which can be used for calculating area, as shown in the figure below: But now I want to calculate the increase ...
1
vote
1answer
85 views

Replace error message in ArcObjects .net custom geoprocessing tool

I am writing some validation in the updateparameters method of my custom geoprocessing tool. I need to post an error message when specific conditions exists and I would like to include a standard esri ...
3
votes
2answers
211 views

Why unable to edit ArcSDE from multiple computers on LAN using custom ArcGIS Engine application?

I cannot edit an ArcSDE database from multiple computers on a LAN network using a custom ArcGIS Engine application, I have tried both versioned and non-versioned feature classes, but they cannot be ...
0
votes
0answers
48 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 ...
3
votes
1answer
160 views

How do I draw transparent polygons with ArcObjects?

How do I draw transparent polygons in ArcObjects? I mean is it possible to set alpha channel?
1
vote
2answers
74 views

Can SqlWorkspaceFactory connection files be created with ArcGIS Desktop?

With ArcObjects, I can use IWorkspaceFactory.Create I can create a connection file for a SqlWorkspaceFactory. Is there an out-of-the-box method to create the same file in ArcGIS Desktop? Update: I ...
1
vote
0answers
39 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. ...
0
votes
0answers
125 views

How to get the top left and lower right coordinates of polygon in ArcObjects?

First of all, draw the rectangle ESRI.ArcGIS.Display.IScreenDisplay screenDisplay = Map1.ActiveView.ScreenDisplay; screenDisplay.StartDrawing(screenDisplay.hDC, (System.Int16) ...
1
vote
0answers
29 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 ...
3
votes
2answers
221 views

.net Geoprocessing object: 000816: The tool is invalid

I am currently trying to build an ESRI Addin that supports multiple versions of ArcGIS (10.0 & 10.1). The project targets .net framework 3.5 and is built in the ArcGIS 10 environment. The ...
1
vote
1answer
153 views

How to add a new data frame to an MXD using C#

Does anyone have code in C# to add a new data frame (map) to an MXD? I have an MXD created in ArcMap 10.1 that has an existing data frame. I need to programmatically add a new data frame and ...
2
votes
1answer
189 views

How to connect to ArcGIS Server on the other machine?

There is the ArcGis Server on the machine 192.168.**.22 Machine name is MAPSERVER. User name and password for ArcgIS Server are "test" and "testtest" (for example) ArcGis Server options are: ...
2
votes
0answers
117 views

Can I update the service on ArcGis Server programmatically?

There is Windows Service. This service adds user raster data to the Raster Dataset in sde database. The Raster Dataset registred on the ArcGis Server. This Raster Dataset also was publishing on ...
1
vote
1answer
59 views

ArcGIS 10.1 - Re-writing an add-in application from processing an SDE Geodatabase to processing a file Geodatabase

ArcGIS 10.1- I am planing to re-write an Add-in application targeting SDE Geodatabase(ArcObjects) to an add-in application targeting file Geodatabase. The Add-in application is a Tool that allow the ...
0
votes
0answers
79 views

Initializing Network dataset workspace extension VB.NET problem

I have an add in tool that is basically compiling routes of people travelling to work. It is a large tool ( a lot of code) and it worked a month ago. When I came back to use it yesterday it suddenly ...
2
votes
1answer
330 views

How to read the app.config settings in ESRI ArcObjects ArcMap Add-In

I am developing custom toolbar and buttons for ArcMap 10.1 utilizing VS2010 and ArcObjects SDE 10.1 extensions. I put some application settings in the app.config file and I want to make them available ...
0
votes
0answers
32 views

Can't see custom Java toolbox in Arcmap10.1

I am trying to use custom toolbox created in Java (ArcObjects) in ArcMap10.1. I have added my custom jar and libs folder in C:\Program Files\ArcGIS\Desktop10.1\java\lib\ext and starting ArcMap10.1 ...
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 ...
0
votes
0answers
24 views

INAStreetDirectionsAgent.Execute fails with ArcGIS 10.1

I am working on an extension for ArcMap using the INAStreetDirectionsAgent class to generate the itinerary directions and display them. The example given in the documentation was followed step by ...
3
votes
2answers
485 views

How can I split a polygon into its sub polygons?

I am trying to define user generated polygons with Esri's ArcGIS Engine 10.1. Here's how it works at the moment: User clicks on the map and creates points User connects the points I have a ...
0
votes
0answers
128 views

ArcGIS license corrupted by standalone application

This is a problem my coworkers and I have encountered several times without being able to track down the exact issue, and a very annoying and almost untestable one. When testing a standalone ...
1
vote
0answers
77 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 ...
2
votes
1answer
54 views

Why does IDatasetContainer2.CreateDataset fail with ArcObjects at ArcGIS 10.1?

I have a small application used to check and generate network, created with the help of the following tutorial: http://help.arcgis.com/en/sdk/10.0/a...00000w7000000/ It worked just fine with ArcGIS ...
0
votes
1answer
121 views

How to use ArcObjects to limit classes visible in legend?

Is there a method use ArcObjects for .NET to manipulate the "Only show classes that are visible in the current map extent" option for legend items? The GUI for this functionality is accessible via ...
1
vote
0answers
105 views

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

I created a custom geoprocessing function tool according to this link . . ...
2
votes
1answer
69 views

ArcObjects Tool via Model Builder?

I have created a series of custom tools using Arcobjects (VB.NET) that reside in a toolbar. Each launches a windows form, takes some parameters and then performs its task. Is it possible to hook ...
0
votes
0answers
21 views

ArcToolBox input layer and SDE default database connection [duplicate]

I asked this question before, and got no answer, so I am asking again. I have this scenario happening. Inside ArcGIS desktop (arcmap), the user select ArcToolbox and select any tool When the user ...
1
vote
1answer
74 views

ArcGIS extension track for arctoolbox

I am developing an ArcGIS extension with .NET and Desktop 10.1 The extension is creating an sde connection file on the fly and connect to the database When the user use any of the toolbox like (Select ...
2
votes
1answer
78 views

Replicate Import Symbology Matching Dialog in ArcObjects?

In Arcmap I can render a layer with same symbolgy applied to different fields by way of re-importing the .lyr file and choosing a Value Field. How can I replicate this functionality in ArcObjects?
3
votes
2answers
124 views

Arcobjects .Net, suppress geoprocessing messages

I am executing the copy features tool via the geoprocessor inside my .net custom geoprocessing function tool. When the copy features tool executes it is writing it's messages to my tool's results. I ...
0
votes
1answer
88 views

ArcGIS desktop extension and prevent attribute editing

I am building an ArcGIS extension on desktop 10.1 (not add-in, but old extension). I built some forms to edit some feature class, where I implement business rules. I want to force the user to edit the ...
3
votes
0answers
94 views

drawing line from points [duplicate]

I have a series of XY coordinates. I want to use these points to draw a line in ARCMAP using arcobject10.1 using c#. I have saved this in a table inside geodatabase.Am i supposed to create a feature ...
2
votes
1answer
363 views

Creating maps programmatically using ArcObjects. Adding legends, scale bars, north arrows?

I'm looking for some examples related to the publishing of maps programmatically to image format using ArcObjects. More specifically I would like to add standard map elements such as a scale bar, ...