ArcGIS Engine is for embedding GIS data, maps and geoprocessing into desktop and mobile applications.
12
votes
0answers
308 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 ...
10
votes
4answers
637 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 ...
8
votes
5answers
2k 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#
8
votes
2answers
385 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 ...
8
votes
1answer
557 views
What is the best way of refreshing the view after drawing graphics?
I draw a polygon on button click which to highlight a feature. Then I need to refresh the ActiveView to show the new polygon. This lines do work:
...
8
votes
1answer
463 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
511 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
2answers
304 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
5answers
868 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
759 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
1answer
404 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
188 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
674 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
1answer
489 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?
6
votes
2answers
813 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
1k 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
575 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
334 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
400 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
182 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
337 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
627 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
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 ...
5
votes
1answer
510 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
379 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
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 ...
5
votes
4answers
274 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
330 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
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:
...
5
votes
1answer
347 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
728 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
222 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
114 views
How can I control what is passed to the OnCreate() method when a command or tool is initialized?
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
361 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
434 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
2answers
89 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
342 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
4answers
372 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
912 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
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 ...
4
votes
2answers
278 views
How to enable MapTips in ArcGIS Engine? (ArcGIS 10)
My organization is working on a new version of our software using ArcGIS Engine. Previous versions of the software (running on ArcGIS Engine 9.3) displayed MapTips fine as long as they were enabled in ...
4
votes
2answers
369 views
Topology Edit Tool in ArcGIS Engine
Is a Topology Edit Tool available "out of the box" for ArcGIS Engine 10? Or do I have to write one myself?
4
votes
1answer
141 views
Add Cache as a Raster?
According to step 4 of the MapCruncher sample,
http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/Sample_Multithreaded_MapCruncher/000100000mmm000000/
Once the cache is ...
4
votes
1answer
583 views
How to catch when layers visibility change in ArcGIS?
I'm trying to regenerate a Legend in a Pagelayout whenever the layers visibility are changed in the TocControl. What is the best way to catch when a layer visibility is changed?
4
votes
1answer
191 views
Create a esri layer file through web map
Is there some way to create a layer file through web mapping application. If I expose data through a map service is there a way to create a .lyr file?
4
votes
2answers
394 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 ...
4
votes
1answer
486 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 ...
4
votes
1answer
298 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 ...