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

learn more… | top users | synonyms (1)

12
votes
5answers
3k views

What are the rules for releasing ArcObjects from memory in .NET?

Do I need to release each object? Is some memory management handled for me? ArcEngine 10, VS2010 C#
12
votes
1answer
392 views

Hyperlink tool use in ArcEngine

I'm having some difficulties using the hyperlink tool (ControlsMapHyperlinkTool) in ArcEngine. Does anyone have any experience with it? It looks like it behaves correctly except that every time a ...
11
votes
3answers
704 views

Which data format typically displays fastest in ArcMap?

My organization is working on an application running on ArcGIS Engine. Previous versions of the application used primarily Shapefiles for displaying roads, parcels, buildings, etc. Since I was ...
10
votes
4answers
977 views

Performance - using multiple file geodatabases as opposed to one

I'm trying to decide the best way to organize my data for an ArcEngine application. I am particularly interested in map display and query speed. Currently I have all of my data separated into separate ...
9
votes
1answer
1k 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: ...
9
votes
4answers
5k views

Uninstalling ArcGIS extensions from earlier version after ArcGIS upgraded?

I uninstalled ArcGIS 9.3.1 (server, desktop, engine), then installed ArcGIS10.0 (Server, Desktop, engine). When I tried to uninstall some arcmap extensions, I got error 1001 "unable to get installer ...
8
votes
2answers
891 views

Is there workaround for very slow ArcSDE 10.1 data display

I'm suffering from very slow viewing data of and ArcSDE database from an Arcgis engine application, the SDE database is in localhost so there's no network issues. but i still don't know the reasons ...
8
votes
1answer
550 views

Custom panning using ArcGIS Engine

Due to some constraints, that I will not go into, I have found myself needing to implement custom panning in my application. The ArcGIS API reference suggests using the following methods: ...
7
votes
2answers
782 views

Control the colors of a shapefile

I have a Shapefile with road data. Sometimes the roads are blue, sometimes they are green. I didn't used to mind, but now I'm tiling everything so I need to control the colors. I'm loading it with ...
7
votes
4answers
594 views

Is there a way to get a good human readable error from a COM error in arcEngine?

I'm trying to perform the following operation: IPropertySet addressProperties = reverseGeocoding.ReverseGeocode(point, false); And I get this error: Exception from HRESULT: 0x80040217 Is there ...
7
votes
2answers
508 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 ...
7
votes
1answer
767 views

Open source engine that is similiar to ArcEngine

If I was to develop a mapping application to be a standalone windows app, is there an open source engine that is somewhat comparable to ArcEngine?
7
votes
5answers
2k 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 ...
7
votes
4answers
994 views

US One Address locator style missing city, state and zip code fields?

I am using the file: C:\Program Files\ArcGIS\Desktop10.0\Locators\US One Address.lot To do address resolution on a parcel / polygon layer. I'm trying to understand why the file doesn't contain ...
7
votes
1answer
434 views

How to prototype GIS workflows in Sketchflow?

I've started to use Microsoft Expression Blend and SketchFlow to visualize senarios in our line-of-business application prototypes. Right now I use the Sketch Style to do a Rectangle and write a text ...
6
votes
3answers
213 views

Is there a way to read the columns in a shapefile / layer without converting it first to an MDB file?

My shapefile has a number of fields, like roadname, and street number. Is there a way to get at these without converting the shapefile first into a featureclass (mdb)? Sometimes the conversion is a ...
6
votes
2answers
1k views

Does anyone know a function to determine if a Point exists within a polygon?

Does anyone know a function to determine if a Point exists within a polygon? Edit: I'm using C# with ArcEngine10.
6
votes
2answers
987 views

How to convert GML to features in ArcObjects?

How to convert GML to features and features to GML i ArcObjects? We are building an application where we want to communicate with a service with GML but natively in our stand-alone application we ...
6
votes
1answer
2k views

How to Verify if a FeatureLayer already exists?

I am currently working on a project where when user loads up their map (mxd) into our system, we create several custom featuerlayers for them. My problem is though, I have no idea how to check if I ...
6
votes
3answers
865 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 ...
6
votes
2answers
585 views

Display map scale (like 1:20.000) next to ScaleBar

In my PageLayoutControl I add a ScaleBar. Additionaly I like to show the map scale/ratio (e.g. "1:20.000") next to it, but didn't find a way to achieve this with the ScaleBar. Am I missing something ...
6
votes
2answers
435 views

Exporting ArcGIS plugin data source to Shape

I have implemented a plug-in data source for ArcGIS. In my case, the format read by the plug-in may contain point, line and polygon features within the same file. In my implementation the data file ...
6
votes
1answer
285 views

Automated geodatabase replication with offline editors

I would like to design an application that would use an SDE database with simple features and a geometric network. That geodatabase would then be replicated out to any number of personal geodatabases ...
6
votes
1answer
442 views

Clearing map cache - ArcGIS Engine

Is there a programmatic way to clear the cache of a map in ArcGIS Engine 10.0? It is apparent that there is some caching scheme operating under the covers, and I'd like to clear all of its cached ...
6
votes
2answers
823 views

How to read data from PostGIS in DotNet (VB.Net/C#)

I have stored my data in PostGIS (PostgrSQL). Now I want to read the data in DotNet ArcEngine Application using VB.NET/C#. Anyone know how to read the data from PostGIS in .Net? Regards
5
votes
1answer
821 views

Drag a Feature in ESRI, ArcObjects Engine (AxMapControl)

I'm trying to implement moving a point feature in a custom C# ArcGIS Engine application on an AxMapControl. I've already created a custom tool to do some other things. And I can track when the user is ...
5
votes
3answers
414 views

Using Multiple ShapeFiles as a single address locator

Let's say I have 5 shapefiles, and I want to use them as a single address locator via the ILocator interface. What would you recommend? 1) Merge the shapefiles into a single shapefile then convert ...
5
votes
2answers
2k views

How to catch when scale is changed in ArcGIS?

We want to update a combobox so that it always shows the correct scale. If the user zooms-in, out or resizes the control hosting the map. What is the best event or events to catch and use in ArcGIS to ...
5
votes
2answers
527 views

Does anyone know a function to determine if a Point lies on a polyline?

ArcEngine 10 .Net 4 c# Hi I'm currently allowing user to select a point on a polyline and creating a point on the line. I am using snapping tool. I just want to make sure that when the user clicks ...
5
votes
4answers
341 views

How can I create a universal ArcGIS 'Current tool' property?

I have a base tool class which handles 90% of my custom logic, but some tools need to set themselves as the current tool. The operations between ArcEngine's IToolbarControl and ArcDesktop's ...
5
votes
1answer
401 views

New Snapping while editing vertex's in ArcEngine 10

Is it possible to use the new (not classic) snapping functionality when editing the vertices of a polygon feature in ArcEngine 10. I would like editing vertices to behave exactly the same as editing ...
5
votes
2answers
752 views

Identify features

I am new to arcgis.I am building a custom desktop GIS application using arcgis engine 9.3.1 .I want to make a custom identify tool and add it to toolbar control.Any example or code will be helpfull. ...
5
votes
1answer
681 views

Why is SymbologyControl missing symbols in XP?

I'm using the the code form SymbolForm.vb in this sample: Change layer rendering using the SymbologyControl It's working great on my developer machine with Windows 7, 64bit. But when I deploy the ...
5
votes
2answers
467 views

IPoint -> Nearest Address

Summary: How to use the MDB file (link below) as a locator to reverse geocode (point->address) with ArcMap? I've implemented this sample: ...
5
votes
1answer
554 views

How to turn an IField from Not Editable to Editable?

so i have turned my ITable into an editable DataGridview from this post link. Now i want to set some of the columns to be non editable. So what I can do is initially set my IFieldEdit.Editable_2 to ...
5
votes
1answer
816 views

Are there any good resources on WFS support in ArcGIS?

Are there any good resources on WFS support in ArcGIS? The only documents I found so far are these: How_to_work_with_WFS_using_ArcGIS_Desktop and Consommer des services/données WFS dans ArcGIS 9.2 ...
5
votes
2answers
1k views

How to filter Legend to show only visible features?

Is it possible to get the legend in a pagelayout to only show patches/swatches for features fall within the visible extent of the Map? The solution needs to work on FeatureLayers and ArcGIS Server ...
5
votes
1answer
252 views

Creating dynamic links between features

I currently want to create links between 2 features. Ie., I have 2 basins that flow out and I want to use a line/polyline to have a link out of them and both point to a common 3rd feature, indicating ...
5
votes
0answers
134 views

How can I control what is passed to the OnCreate() method when a command or tool is initialized? [closed]

In an ArcEngine application can I control what is passed to the OnCreate() method when a command or tool is initialized? (I am using a synchronization object because I have both a map and a ...
4
votes
3answers
420 views

How can I programmatically determine if a shapefile contains points, polygons, or lines?

How can I programmatically determine if a shapefile contains points, polygons, or lines? ArcEngine 10, VS2010, C#
4
votes
3answers
504 views

Image of police car -> dynamically draw police car number

Let's say I have 10 police cars using the same image, and I want each one to be numbered 1 - 10, but the number 1 is dynamically drawn on top of the police car image. What is the class / interface I ...
4
votes
3answers
228 views

How to number polygons according to their spatial relationships?

I have, for example, this layer in postgresql (polygons): table : poly (objectid: integer, num: integer, shape: geometry) I want to enumerate the polygons from left to right and top to bottom ...
4
votes
2answers
93 views

Given a collection of IPoints is there a quick way to get the extent that contains them?

I have a bunch of IPoints. I need an extent which contains all of them. Is there a quick way to do it? I had the idea of converting them to screen coordinates and then figuring it out manually but ...
4
votes
1answer
439 views

Is there a way to get the X,Y from a feature class?

I currently have an instance of a selected feature class, and I want to be able to get the midpoint X,Y (if its polygon) or the X,Y (if its IPoint) of the feature from the layer, is there some build ...
4
votes
2answers
4k 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 ...
4
votes
2answers
796 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 ...
4
votes
4answers
511 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 ...
4
votes
4answers
1k views

How to determine a point lays within a polyline in arc engine?

I recently asked a similiar question on this, however I needed to know if there is a way to solve this if I only have a IPolyline Feature, and not the whole layer. I want to know if I can determine ...
4
votes
5answers
533 views

Intersection of two lines tool

Is there any way to make intersection of two lines tool with extending lines option, so the result would be a point. the hardest part is when the lines have to be extended to intersect. the tool will ...
4
votes
3answers
902 views

Get part of polyline based on 2 points in Arc Engine

Currently I have a layer with polylines; in another layer, I allowed the user to create 2 points on the polyline. I want to know if there is a function for the polyline feature that I can use to get ...