Tagged Questions
3
votes
0answers
41 views
How to use ITableEdit interface with ArcGIS 10?
I'm new with this technology. I modify data as you can see below:
private void changeVersion(IFeatureWorkspace ifw, IWorkspaceEdit iwep,
IServerContext m_serverContext, String versionName) ...
3
votes
2answers
300 views
How to Get my Custom Toolbar to popup when my Custom Extension is Enabled?
I am developing a custom extension for ArcMAP in Arcgis 10, and would like to display my Custom Toolbar automatically instead of having the user to select it from the customize window. Is this ...
0
votes
0answers
49 views
Why is IQueryGeometry crashing when ITextSymbol:Text contains more then one AMPERSAND (&) symbol?
I have a bit of an issue with my addin which converts annotations (text) to polygons. To do this I use the ITextSymbol obtained from the Annotation Feature which is then implemented by the ...
0
votes
0answers
135 views
How to loop through Identify Dialog fields? [closed]
Is there a way to loop through the values displayed by Identify Dialog?
I tried the IIdentifyDialog interface but it does not expose any useful method; neither is there any QI which can be of use.
...
3
votes
1answer
197 views
Force ArcCatalog to refresh TreeView and View after programmatically creating a table
I'm programmatically creating a table in a geodatabase and am trying to force ArcCatalog to refresh the display to show the new table. I've tried the following which does not work:
Dim gxApp As ...
2
votes
3answers
679 views
Arc Objects and non-spatial table
I am a new Arc Objects user, with little ESRI experience.
We are using VBA to create a spatial report on a Map Control using a mdb table. The mdb table contains a Lat and Long field, and this data is ...
0
votes
4answers
724 views
MFC Dialog Application using ESRI ArcEngine 10.0
I'm new to ESRI ArcObjects and I'm trying to create a basic MFC dialog application. I add the License and MapControl to the dialog resource. I compile and run the app, but I get the following runtime ...
3
votes
1answer
193 views
Force a new AddDataDialog to open at a defined directory path
Is there a way to force the AddDataDialog to open to a specific path? I created a tool that when clicked on a specific feature will open the Add Data dialog, but I need it to open starting at a ...
2
votes
1answer
195 views
Persisted member in an application extension does not save to stream
I have an ArcMap extension in which I'm trying to persist a string value. When the document is saved, the public member m_LayerName in the application extension class is not being persisted. Either ...
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, ...
4
votes
1answer
484 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 ...
2
votes
1answer
661 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 ...
3
votes
1answer
915 views
How to create images from symbol in ArcObjects?
I'm trying to create images from symbols so that I can create a custom symbol dialog. Found this sample code on the ESRI forums and it workes great on almost all symbols. I'm having problems with a ...
1
vote
1answer
945 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 ...
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 ...
4
votes
1answer
581 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?
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 ...
1
vote
0answers
83 views
AddData tool stop working after Interoperability connection has been used?
Bug in ArcGIS Engine? Has anyone seen this behavior? We get an exception from our ArcGIS Engine test projects after we had been testing the Interoperability connection in ArcEditor.
We had to enable ...
6
votes
2answers
812 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 ...
1
vote
4answers
462 views
How to hide map to print only the legend on a PageLayout?
If I'm printing a Pagelayout, is there any API for hiding the MapFrame or stop it from getting draw on the printout? I would like to only print the Legend on the paper.
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 ...
4
votes
4answers
2k views
Which API should we use for printing a PageLayout?
We are building an standalone ArcGIS Engine application and we are going to add support for printing.
There are several APIs for printing a PageLayout in ArcObjects, in ArcGIS 10 there are at least ...
0
votes
2answers
1k views
How do i popup a context menu with custom command items in a Select tool OnMouseDown (Right Click) with VB .Net?
This should be simple... I am converting VBA customization to VB .NET in VS 2008 Express Edition.
In VBA i have a custom selection tool. Aside from just selecting features, when OnMouseDown receives ...
1
vote
3answers
784 views
Drawing selection custom selection box - ArcObjects
I have some code that I'm using to selecting features in a certain extent. I already rigged the tool properly, so it selected the objects as needed, but I want to draw interactively the selection box ...
3
votes
4answers
881 views
How can I debug a DLL (ArcGIS tool) with VS 2008 Express?
As per ESRI's recommendation I begun the process of converting my existing VBA customization into VB .Net Express edition. I was surprised o realize that debuggin a DLL is not an option in the express ...
10
votes
2answers
738 views
How to unit test ArcObjects with Mocking
I'm a huge fan of unit testing, but still make use of a FGDB to grab features for running unit tests against when using the ArcObjects framework.
Is anyone successfully using mocking against thinks ...
3
votes
0answers
265 views
How do I Convert from LayerDescription.SelectionFeatures to GraphicsLayer?
How do I convert (in a clear and concise way) from
ESRI.ArcGIS.ADF.ArcGISServer.LayerDescription.SelectionFeatures
to
ESRI.ArcGIS.ADF.Web.Display.Graphics.GraphicsLayer
I want the selected ...
1
vote
1answer
278 views
Disadvantages to ESRI Plug-In Data Sources
I wanted to know what disadvantages ESRI plug-in data sources have when compared to custom layers. I am looking to implement a fairly large (in terms of average dataset size) read-only custom type ...
7
votes
2answers
526 views
What are the implications of using .NET Generics to store ArcObjects?
I'm wondering what are the implications of using Generic types in .NET to store ArcObjects, such as ILayer, IField, etc.
The compiler throws me a warning when using these kind of values
public class ...

