ArcGIS Engine is for embedding GIS data, maps and geoprocessing into desktop and mobile applications.
8
votes
2answers
381 views
Which data format typically displays fastest? (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 taught ...
3
votes
2answers
672 views
Accessing ArcGIS layers from seperate thread
I've got an ArcEngine application, referencing a MXD for it's data (and map display). I'm running a query against all layers, so can take quite some time.
I would normally run the query in a ...
5
votes
2answers
1k 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 ...
2
votes
1answer
660 views
How to let user only rearrange layers in a group layer?
We have a stand-alone application were we let the users add local shape and raster layers. We would like to add functionality so that the user can rearrange the added layers within a specific group ...
10
votes
4answers
635 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 ...
7
votes
2answers
301 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 ...
4
votes
1answer
1k views
Feature Layer Attribute table to Datatable and make it editable
Hi Currently i'm using this to turn it into a data table
featureCursor = layer.FeatureClass.Search(que, false);
row = featureCursor.NextFeature();
if (row != ...
5
votes
3answers
406 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
4answers
756 views
Why doesn't US One Address locator style have city, state or 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
2answers
510 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 ...
6
votes
2answers
671 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.
5
votes
2answers
586 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
2answers
422 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:
...
4
votes
3answers
690 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 ...
3
votes
2answers
518 views
Replicating ArcMap's Point Sketch Geometry Editing (Feature Templates) in ArcObjects
I'm looking for a way to place, select, move, delete features inside a custom C# ArcObjects application (using AxMapControl). I found the exact behavior in ArcMap, but I want to save the user some ...
3
votes
2answers
519 views
How to group layers in ArcEngine 10
I was wondering if there is a way I can code the TOC control so that I can select multiple layers and GROUP them together. So if i uncheck the group, all layers will be unchecked and be invisible.
...
1
vote
2answers
174 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 ...
4
votes
2answers
457 views
Editor Extension in ArcGIS Engine 10 Application
How can I find the Editor extension in an ArcGIS Engine application (i.e. no access to the IApplication object)?
There is an example method at ...
4
votes
2answers
393 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 ...
3
votes
2answers
322 views
How to get all features in current extent
I like to add text information to each feature in the shown map extent in my MapControl/PageLayoutControl. Adding the text is not a problem, but I couldn't find a way on how to get the features.
Is ...
3
votes
1answer
392 views
save IGeometry to disk as a Layer file
How can I save an IGeometry to disk as a Layer file?
ArcEngine 10, C#, VS2010
Edit 1: With Jason Scheirer 's suggestion I managed to convert a point into a shapefile - and I'll post the code here ...
2
votes
0answers
95 views
Remove Layer Labels
public void LabelOff( IActiveView view, IGeoFeatureLayer geoFeatureLayer ) {
IAnnotateLayerPropertiesCollection annotationProperties =
geoFeatureLayer.AnnotationProperties;
...
2
votes
0answers
245 views
Rendering raster layer from DTED based on height color map
I have a raster layer that was create from DTED file (dt1 specifically), created by the following code:
var rasterLayer = new RasterLayer();
rasterLayer.CreateFromFilePath(dtedFilePath);
The dted ...
2
votes
2answers
523 views
How to connect to bundle files?
I tiled my mxd document using the Multithreaded MapCruncher sample located here: http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#//000100000mm8000000
It appears to work, ...
2
votes
4answers
2k views
How to set a definition query for an AGS layer?
Is it possible filter out some features using a definition query set from the client on a AGS layer?
I've checked out the map server layer but it only supports find and identify. Also looked at WMS, ...
2
votes
1answer
768 views
What are the main steps when building a balloon callout using ArcObjects in arcengine 10 in VS2010 with C#
I'm looking for a good BalloonCallout example / tutorial / sample.
edit:
Using C# with ArcEngine 10
edit #2:
What are the main steps when building a balloon callout using ArcObjects in arcengine ...
1
vote
1answer
173 views
Problem Initializing License for ArcEngine application
I have written an ArcEngine application using vb.net and Visual Studio 2010. When I initially started the code, I indicated an ArcInfo license was available during the project setup. This worked ...
1
vote
0answers
69 views
Compound Key to Relationship
If tableField = "Process ID" and layerField = "PID" then this works:
IRelationshipClass relationshipClass =
memoryRelationshipFactory.Open(
"Join",
table as IObjectClass,
tableField,
...
1
vote
1answer
101 views
Configure SoundEx in ArcEngine
Is there a way to configure SoundEx properties in ArcEngine?
This query: "100 Fairvew Rd returns "100 Fairview Rd"
But this query: "100 Farview Rd" returns no results
Is there a way to make the ...
1
vote
1answer
455 views
Setting color of a feature “street” with a FeatureRenderer
I have a layer with streets and I'm trying to change the color of the streets. I know I asked a similar question, How do I change the colors of my layer file?, and the answer worked for points.
...
1
vote
2answers
551 views
How do I change the colors of my layer file?
I have a ILayer which I load from a .lyr file which I created from a shapefile. How can I change the colors of the elements? I want to make the roads red instead of green for example.
I need to do ...
1
vote
1answer
340 views
Right click on layer in TOCControl get a context menu
Is there a way to right click on a layer in the AxTOCControl and get a context menu?
I would like the options to be something like: {annotate layer, change annotation, move layer up or down the ...
1
vote
1answer
944 views
How to work with .lyr files in ArcGIS Engine
I want to be able to load .lyr files created in ArcMap and ArcGIS Engine and save any updates in symbology in ArcGIS Engine back to the .lyr file.
What APIs should I use the only method I found so ...
0
votes
1answer
371 views
Programmatically uncheck layer in AxTOCControl
I am running my map in dynamic display mode, and I want to programmatically uncheck a layer that is not a IDynamicLayer that is visible in the AxTocControl -- its just a regular layer file.
I ...