ArcGIS Engine is for embedding GIS data, maps and geoprocessing into desktop and mobile applications.

learn more… | top users | synonyms (1)

2
votes
2answers
371 views

SDE 10.1 Layers Not Loading in ArcGIS Engine Application

I have an ArcGIS application that works great when loading layers from SDE 10.0 but fails when trying to load the layers when they're pointing to a SDE 10.1 server. The only difference is the layer ...
2
votes
0answers
335 views

How can I free esriControls.ControlsSelectTool? Or is it leaking memory?

In my application I have isues with unfreed memory. After several tries I broke down the problem to a simplified WPF project. It opens a simple System.Windows.Window with a Button, which starts the ...
0
votes
1answer
281 views

How to delete an image from axMapControl component?

I have a problem in arcgis c#. I am using Arcgis axMapControl component and adding image to it but I can not delete image when wanted to delete from axMapControl component... I have get a exception ...
2
votes
1answer
136 views

ArcEngine: Drawing graphics returned from BackgroundWorker

My application is drawing graphics objects on the map(as simple as adding IElement to GraphicsContainer). When I create graphics elements and add them to GraphicsContainer in BackgroundWorker DoWork ...
3
votes
1answer
794 views

Duplicate ObjectID in ArcSDE Table

After making a check in from an arcpad AXF file, i notice that there's duplicate ObjectID records. This ArcSDE PostgreSQL table is versioned and edited by Axf checkins and a .net engine application. ...
7
votes
3answers
11k views

Remove lock on feature class

When i try to delete a feature class , after or during the use of an Arcgis engine app which uses the same feature class i got an error concerning the lock , so i can't get ride of this lock until i ...
0
votes
1answer
507 views

how to list table rows of a layer in a listbox?

I'm new in using c# and Arcengine . i would like to list table rows of a feature in a Listbox like select by attribute in ArcGIS such that when i click a button, table rows list in a listbox . i use ...
1
vote
1answer
2k views

How do I add TIFF files to one layer/raster catalog?

We have several TIFF images (already tagged with position information) we want to load as a single layer into the map. It's the first time I dig into this raster/topology thing, but at least I managed ...
3
votes
1answer
326 views

How to manipulate OpenStreetMap schema to be useful in ArcGIS applications?

I have a shapefile of OSM data. I plan to use the data for an ArcGIS Engine application, and I was wondering if there are any existing solutions to getting the data's schema into your typical GIS ...
1
vote
0answers
98 views

Why are the special fonts in a .mxd-project not used/found?

I have a .mxd-project file from a customer which uses special fonts (TrueType). I installed these fonts in Windows but my application (mostly a MapControl) doesn't use these fonts for displaying. I ...
4
votes
2answers
2k views

Running ArcPy script from ArcObjects?

the standard method requires to run ArcPy script in command line, i've struggled with it to run but without a result, i can import arcpy, set the workspace to the geodatabase path and describe the env ...
2
votes
1answer
827 views

Snapping lines to points

I have a layer containing a vector 'Line 1', that originates at point 'A' on a second layer. I also have point 'B' on a third layer. I want to create 'Line 2' that has the same angle and length of ...
3
votes
2answers
449 views

Not scaling and/or rotating when exporting map using ArcObjects?

I am writing a console application using ArcGIS (engine or desktop). I'm trying to rotate and scale a map based on a polygon, and I'm not having any luck at all. With some tinkering, I can usually do ...
2
votes
1answer
324 views

Printing semi-transparent elements using ArcObjects?

I highlight some features with a semi transparent color via an ILayerExtensionDraw. When I print the ActiveView of the PageLayoutControl with IPrintAndExport the highlightning is not on the printout. ...
11
votes
3answers
1k views

Are personal geodatabases better suited for quickly querying indexed attributes than file geodatabases?

I'm preparing data for an ArcGIS Engine application that queries the data to search for an address. Sometimes we search just on the street name field, just on the house number field, or both. When ...
2
votes
1answer
878 views

Snapping Polygon vertices to Point features using ArcGIS?

I have a set of polygons drawn using an inaccurate GPS PDA. these polygons are sharing nodes. After post-processing GPS data to get accurate coordinates i have a set of all the nodes, then i have to ...
1
vote
0answers
96 views

Is there a way to reshape graphics in ArcEngine?

Our GIS-tool should allow the customer to reshape self drawn (polygon) graphic elements, like one can reshape features in edit mode with the Editor. Is it possible to reshape graphic elements? If ...
4
votes
3answers
525 views

How to use ITrackCancel to escape IRubberBand track?

I have a BaseTool for AX_MapControl and AX_PageLayoutControl that allows to draw a polyline via IRubberBand. But once the rubberband is started, you can't cancel it e.g. by hitting escape. I found ...
-2
votes
1answer
291 views

I have a shapefile containing three types of polylines, how can I color each type with different colors? [closed]

I have a shapefile containing three types of polylines, how can I color each type with different colors ?
7
votes
1answer
1k views

Open source GIS engine that is similiar to ArcGIS Engine?

If I was to develop a mapping application to be a standalone windows app, is there an open source GIS engine that is somewhat comparable to ArcGIS Engine?
2
votes
1answer
95 views

Does ArcGIS Desktop use ArcGIS Engine?

If I use ArcGIS Desktop applications like ArcMap and ArcCatalog, at the ArcEditor/Standard, ArcView/Basic or ArcInfo/Advanced license level, is it using ArcGIS Engine under the hood? I think the ...
7
votes
2answers
877 views

Is it a bad idea to hold references to ArcObjects inside business classes?

According to best practices is it a bad idea to cache features and geometries inside business objects? If it is bad, what is the alternative way? References to features may be replaced with their ...
2
votes
1answer
410 views

How to use multiple graphics layers in ArcEngine?

My organization is working on an ArcEngine application that displays a GPS cursor for the user's current position. We are using custom-made GPS code since ESRI's is buggy in ArcGIS 10. Whenever the ...
1
vote
2answers
373 views

How to save and load elements to/from a layer in correct z-order?

I copy elements from one layer to another like this: IGraphicsContainer container = _mapControl.Map as IGraphicsContainer; IGraphicsContainerSelect containerSelect = container as ...
1
vote
2answers
2k views

Select and highlight features

I have 2 ESRI feature layers on my map; points and polylines. I can select them just fine either by rectangle or polygon. What I am missing is how to highlight (larger size and different color) the ...
3
votes
0answers
1k views

Make a Join Permanent

So I've been using a dynamic join (IRelQueryTable to attach a SQL query to a feature layer) but now I want to make a permanent (or semi-permanent) join. How do you go about doing this in ArcEngine ...
1
vote
0answers
39 views

Dark Lines in ToolbarMenu

When I do this: // toolsView is the ToolbarControl IToolbarMenu2 toolbarMenu = new ToolbarMenuClass(); toolbarMenu.Caption = "Top"; toolbarMenu.AddItem( new NewDocumentCommand( synchronizer ), 0, 0, ...
2
votes
1answer
400 views

How draw a Rectangle with INewRectangleFeedback?

I´m developing in ArcGIS Engine and my question is how to draw a rectangle with INewRectangleFeedback interface. Here is my code but it does not create the rectangle. If someone could help me it would ...
3
votes
2answers
562 views

Slow FeatureClass Sort

I am passing in a geofeatureLayer to a method that creates a UniqueValueRenderer. I am using the following code to sort that renderer so my values will be in some kind of order. This seems very slow, ...
2
votes
4answers
3k views

AxMapControl: How to set map extent in ArcObjects?

I have a stand-alone application written in C#. I want to be able to save and restore the current map view (extent) that the user sees. I assumed that it would be as simple as saving the active view's ...
8
votes
5answers
5k views

What are standard scales, or zoom levels, for map applications?

I am working on an ArcEngine program that is restricted to a set of scales. It currently has: 1:187.5 1:375 1:750 1:1500 1:3000 1:6000 1:12000 1:24000 1:50000 1:100000 I don't think there's ...
0
votes
1answer
143 views

how to save layers in combobox

I'd like to develop an app so that user introduce the layers in comboboxes ( layers are slope,aspect,elevation etc) then user use these layers for processing in another form(processing form) and dose ...
-2
votes
1answer
143 views

How can I access the AddShapefile method in HookHelper?

I'm new to ArcEngine and ArcObjects. I'd like to develop an extension for ArcMap where I have to use IHookHelper instead of AxMapControl. I am looking for the AddShapefile method, which is available ...
1
vote
1answer
385 views

How do i create menu in base toolbar?

i'd like to create menus in a base toolbar like arcHdro tools or spatial analyst . how can i create menus with arcengine 9.3 in my toolbar ( the toolbar shows in arcmap )?
6
votes
3answers
1k views

How is a “Map Package” created programmatically?

Given a loaded map document (mxd) how do I find the geodatabase objects related to the contained layers? I want to copy them with the map document so the map can be moved onto each user's local ...
4
votes
2answers
272 views

Developing tools for ArcMap 9.x and 10.x

I've been asked to start developing something for ArcGIS 10.x, but here is the problem: in my computer I already have the SDK and ArcMap 9.3.1 installed. That means that I need to uninstall it before ...
0
votes
1answer
831 views

CenterPoint of Polygon in ArcEngine .Net 10

I am currently trying to get the center point of a polygon. In GIS, i can see the "x" mark in the center of the polygon, but I do not know how to get it from the IPolygon object. I tried getting the ...
0
votes
1answer
1k 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; ...
1
vote
1answer
255 views

Get Feature Symbol

I am using this code to get the symbol associated with a feature: IFeature feature = geoFeatureLayer.FeatureClass.GetFeature( geoFeatureLayer.FeatureClass.FeatureClassID ); ...
0
votes
1answer
604 views

how to calculate polygon area in arcengine

i'm new to use Arcengine 9.3 . i would like to create an application to calculate the selected polygon in combobox such that the user click to a button and polygon area saved in dbf . how can i write ...
9
votes
2answers
2k views

What is the best way of refreshing the view after drawing graphics?

I draw a polygon on button click to highlight a feature. Then I need to refresh the ActiveView to show the new polygon. This lines do work: ...
1
vote
1answer
489 views

Get all features in extent not working correctly in PageLayoutControl

I want to get all features in the current extent of my PageLayoutControl's ActiveView. I got it working for a MapControl as described here. With my PageLayoutControl it seems that I don't get the ...
11
votes
4answers
1k views

Performance of ArcGIS Engine using multiple file geodatabases as opposed to one?

I'm trying to decide the best way to organize my data for an ArcGIS Engine application. I am particularly interested in map display and query speed. Currently I have all of my data separated into ...
1
vote
0answers
241 views

Table not found ConvertFeatureClass how to project?

I get a Table [Streets] not found when I try to convert a shapefile to a geodatabase. I'm thinking I'll try setting the spatial reference like in this post, ...
0
votes
1answer
520 views

FeatureClassNameClass.Open() Error, any ideas?

This code works fine on my Windows 7 64 bit machine, but fails on the target machine, Windows Server Standard SP2 64 bit. public List<string> GetShapeFileFieldNames(string shapeFileDirectory, ...
1
vote
2answers
1k views

Is it possible to create a Balloon Callout with a leader?

Is it possible to create a Balloon Callout with a leader? I am using the following code: public void DrawText( IActiveView view, BalloonParms balloonParms ) { ITextElement textElement = new ...
4
votes
4answers
1k views

(Professional) Label Positioning?

Just a general question here. I've implemented labeling in my code and solved a fair amount of problems that seemed insurmountable at first. Now that the labeling is working I have directed my ...
7
votes
3answers
1k views

E_FAIL when calling ESRI.ArcGIS.Carto.IImageServer.Initialize()?

I am using ArcGIS Engine and Developer Kit 10 on Windows 7. Specifically, I'm writing an ArcObjects console program using Visual C# Express 2008. I am attempting connect to an image server via a URL ...
3
votes
2answers
4k views

Labeling Selected Features Only using ArcGIS Engine?

I've been labeling using the LabelEngine and simple expressions and it is working for every layer. I want to offer the option of labeling only selected features and thought it would be this simple: ...
4
votes
1answer
934 views

Need help with Merge GeoProcess task in ArcEngine (C#)

Help! Having the hardest time getting the correct syntax when adding layers as gp parameters to call the Merge_management GeoProcessing Task. Below is just one of MANY, MANY ways I have tried with ...