0
votes
0answers
59 views

cad to shapefile conversion

i have use arcgis10.1,arcobjects.net. i did following code ESRI.ArcGIS.Geoprocessor.Geoprocessor gp = new ESRI.ArcGIS.Geoprocessor.Geoprocessor(); gp.OverwriteOutput = true; ...
0
votes
1answer
47 views

Creating Network Dataset programatically

I'm trying to code to create a network dataset using a single line feature class with minimal attributes I'm looking for a nice tutorial which can guide me through the process.I have already looked at ...
0
votes
1answer
34 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 = ...
2
votes
1answer
59 views

Is it possible to learn ArcObjects without VB?

I have some text in arcmap active view and I need to Change the font face as the licence does not cover the font type. I am using python script for Automation but arcpy can not select the text ...
3
votes
0answers
104 views

How to compute surface of raster or any point using ARCGIS?

I have a raster image whose values are a digital elevation model of terrain. I need to know the surface type (topographic characterization) of particular points along transects of this DEM. How to ...
3
votes
2answers
53 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
37 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 ...
1
vote
1answer
128 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 ...
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 ...
2
votes
2answers
66 views

Is it possible to create an addin for a specifc MXD?

I am currently in the process of creating Addin's and also converting our VBA projects to .NET addins. With the VBA applications, they would only work with specific MXD's. Is this possible to do with ...
1
vote
1answer
65 views

Get Polygon or IGeometry from Envelope in ArcObjects

I would like to create a Polygon Feature from the geometry of an IEnvelope in C# ArcObjects SDK 10. Is there an easy way how to do it?
2
votes
0answers
29 views

Getting value from IRow is slower while edit mode is on? [closed]

When I access a value in an IRow using get_Value(index), it usually takes 0 to 1 ms. But when edit mode is on, the same operation takes 0 to 15 ms (most common values are 0 and 10 ms)! What could be ...
2
votes
2answers
109 views

How to get Database name for layer in ArcObjects?

I am writing an ArcGIS ArcMap Add-In and need to determine what database a given layer from. How can I determine this information? I attempted to use the FeatureLayer to get a FeatureClass, and then ...
1
vote
0answers
108 views

ArcObjects - Export map to PDF - graphics not appearing

I'm having an issue with our ArcObjects code for exporting a map to PDF. There is a section of code that adds graphics on to the map (polygons, lines, text etc). This seems to work fine for the first ...
1
vote
0answers
53 views

GP-Tool: Detect if running in background or foreground ? (ArcObjects)

I got a geoprocessing tool which I want to prevent from running in background, due to some weird crashes that happens. Is it possible to programmatically detect if background processing is enabled ? ...
1
vote
1answer
87 views

What is the correct approach to handle mouse events for a tool that is called by a button?

I have a dockable window with a 2 buttons that call 2 different tools (Draw Marker and Select Features), What i want to happen is when the user clicks on the relevant button on the dockable window and ...
1
vote
0answers
31 views

Is it possible to add dynamic controls to a dockable window?

I am writing a small application that uses the dockable window. What will happen is that for each layer in the TOC a label and checkboxes will appear within the dockable window. However what do i need ...
3
votes
1answer
52 views

How can i uncheck leader lines show in piechart using ArcObject?

I'd like to uncheck the leader lines of my piecharts programmatically . I surf in the internet and found nothing about this.It's simple to uncheck the leader lines in ArcMap. Just go to properties of ...
3
votes
0answers
129 views

converting a distance to a map distance

I have a point and a polyline. I need to find the perpendicular distance between each segment of the polyline and the point. By each segemnt of the polyline I mean that, each polyline may contain more ...
1
vote
0answers
45 views

How to return shapes from geo service?

I have a geo service that seems to finally be working. I have the service setup with a list of Polylines as the returned object. This is what I'm trying to implement but it doesn't work: ...
1
vote
1answer
230 views

How to create windows form based tools as add-ins in arcgis 10.0 using vb2010

Here i am again with a query again. Let me explain the project layout first. I am writing a project in vb2010 in which i want to add a package having 4 toolbars with about 48 tools in them in ArcMap ...
1
vote
1answer
113 views

Why does my ITopologicalOperator Intersect result have incorrect area?

I have used ITopologicalOperator for getting common Area of two polygons but the result is not correct. May anyone please tell me how to get the common area of two features. //Make Topological ...
2
votes
2answers
92 views

How to use IFeatureCursorBuffer in VBA

I tried to use IFeatureCursorBuffer to create and dissolve the buffered features.I am trying to get the solution since some days using dissolve and UnionOverlappingBuffers, but not being able to get ...
1
vote
1answer
35 views

IElement, extract Element from GroupElement nested in GroupElement

As per title. I am trying to extract Element from nested GroupElement. I can not find any code sample for that. Please refer to one or point me in to right direction, how to do that. It sounds ...
3
votes
2answers
224 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
75 views

Is it possible to disable an Extension Addin on Startup

I am currently creating an Addin, that can be toggled on/off from the extension manager. What I want to do is when ArcMap is being loaded, to check the license level being used (which I have done), ...
1
vote
0answers
96 views

What is a good way to cluster point data by item counts in ArcGIS?

I have point features that have as an attribute an asset count. For instance, point A may have 3 assets whereas point B may have 300 assets. My goal is to have each point be in two categories: ...
1
vote
0answers
36 views

What is the difference between a Custom Layer & a plugin data source?

You can add custom data to ArcGIS desktop in two different ways: Plug-in Data Sources Custom Layer What is the difference between these two? I'm looking at the possibility of creating an editable ...
1
vote
1answer
107 views

“The Fields collection did not contain an expected geometry field” (ArcGIS 10)

I am writing a fairly simple application to build simple polylines. I got most of the application working for the most part, but this part is just baffling me to no end and there is nothing I can ...
0
votes
1answer
67 views

ArcGis: Rotated grids and cell size

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. ...
1
vote
1answer
89 views

Create Feature and store to different FGDB

Create Feature and store to different FGDB I'm creating a feature and I want to store it to a specific geodatabase. At the moment I'm using feature.Store() but it's not storing it to where I want. How ...
1
vote
0answers
193 views

Drawing Curves/Bezier Lines with ESRI WPF Runtime

I'm looking for some pointers on how to draw a curved line or bezier line in WPF runtime. The WPF runtime sample application has a drawing mode for straight line, polyline, and freehand. However, no ...
0
votes
0answers
49 views

Dateline wrap issue in ArcObjects / ArcGIS Engine

I am having issues manually creating a polygon that crosses the dateline (long=180). My x coordinate goes from 178, 179, 180, -179, -178, etc. Anyway, can anyone give me some guidance? I am using ...
0
votes
0answers
46 views

AO GP tool: Using .sde files as input in a DEWorkspaceTypeClass parameter

I got a tool where the user selects a workspace for storing feature classes, defined as follows: IGPParameterEdit3 parameter = new GPParameterClass(); parameter.Name = "out_workspace"; ...
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 ...
0
votes
1answer
101 views

ArcGIS Custom Toolbox crashes ArcMap 10.0

I have prepared Custom ArcToolBox using ArcObjects in java. It was working fine before though was giving NullPointerException but this something java related error and that is fine. Later I have ...
0
votes
0answers
16 views

How can I create a Representation control

I want to make a dialog of my own to in ArcMap handle cartographic representations in a slightly different way. However, I ewmbed the standard representation editing control. Does anybody know what it ...
1
vote
2answers
378 views

Objects in this class cannot be updated outside an edit session

HI i am trying to update my feature class with some new parameters using IEditWorkSpace, Following is my code --- IWorkspaceFactory workspaceFactory = new AccessWorkspaceFactory(); IWorkspace ...
0
votes
2answers
170 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 ...
1
vote
2answers
229 views

Parallel Computing and Raster Operations in ArcObjects gives cryptic error

This is a problem I have been struggling with for awhile. The code below takes 1-3 input feature layers (pFLayer) that were stored into a list called pFeatureLayerCollection, casts them into ...
0
votes
0answers
94 views

How to fill selected feature(s) with transparent red fill using ArcGIS Server 10?

I'm writing a Server Object Extension (SOE) for ArcGIS Server 10, and I'd like to change the symbology of features selected from my feature layer such that the features are shaded with a transparent ...
0
votes
0answers
176 views

Could not load native library error (Arcobjects)

I created a destop application using eclipse IDE , it works perfectly fine over eclipse. Problem happens when i try to export it as runnable jar file. This is my project set up in eclipse juno I ...
1
vote
1answer
166 views

IQueryFilter where Clause quering two feature class at a time

I need to query two feature class at the same time using IQueryFIlter. For eg - FeatureClass -- A has field OBJECTID FeatureClass -- B has field OBJECTID what i am tring to do is -- IQueryFilter ...
0
votes
0answers
108 views

Eclipse export as runnable jar file error

I am building a destop application , which takes user input for personal geodatabase and finds feature class in it . It works fine till i run it in eclipse , but when i export it as a runnable jar ...
1
vote
1answer
155 views

Opening an InMemory Table and execute some SQL

I have a InMemory that gets created, what I then want to do is run INSERT, UPDATE and DELETE queries on the table. The code i have at the moment is below, I create a new InMemory table, add it to the ...
0
votes
1answer
163 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 ...
2
votes
1answer
92 views

Slope tool error when running from arcObject add-in tool

My problem is related with Global DEM to Slope calculation. The slope tool works when raster is projected or the map is projected where the raster is added. And also, if the raster and map both are ...
5
votes
4answers
332 views

Migrate in a new programming GIS language

The last five years I have been working with VBA and ArcObjects for developing a specific application within ArcGIS. That project that began around 2008-2009 carried out with VBA and ArcObjects which ...
2
votes
1answer
265 views

How to replicate an unversioned SDE geodatabase to a file geodatabase?

I need to implement a process for creating a file geodatabase copy (a read-only snapshot, essentially) of a production SDE geodatabase without using versioning, adding global ID columns, etc. I cannot ...
0
votes
1answer
360 views

How to learn ArcObjects (.NET, C#) for desktop applications but having only Arcmap desktop license?

How can I learn .NET and C# for desktop applications having only a desktop license? I want to upgrade myself in the development side so I'm trying to learn this stuff and I'm searching all the ...