Running Engine JAVA on Linux
Hi all I am trying to run Engine 10.1 Java application on Linux RedHat6 and gets some errors. In the attached files you can see my env values and the errors for two ESRI samples. Does anybody know what...
View ArticleProblem with GeoProcessor.GetDataElement (C#)
I am writing an application that needs to run through a GDB with one dataset and multiple feature classes. The feature classes have subtypes and coded domain values. I need to get the count by subtype....
View ArticleEasiest way to access the list of rasters in a MosaicDataset (MDS)
The best way I can find to access the list of rasters that have been added to a MDS is through IRasterCatalog.CatalogItem, cast to the IMDS. Is there a better way? Thanks! Sam
View ArticleShapefile based Network Dataset - Display and Lock
Hi Everyone, I am able to succesfully create a network dataset (NDS) from a shapefile programmatically. But, for some reasons when I add the NDS as network layer to a map programmatically, the map...
View ArticleUser Access Control problem with background thread process
I have a custom toolbar written in C# that was migrated to ArcGIS Desktop 10x using VS 2010. The tool will only run when ArcMap is run as an Administrator. The tool does some validation checks on a...
View Article[.Net] How to find GIS diff after one way replication?
The scenario is I have a one way replication from one ArcSDE to another. I would like to run a daily task that will look into the target ArcSDE with ArcObjects and find what is new since the last sync...
View ArticleUpdateBitmap throwing InvalidArgumentException
I set an image (16x16 bmp) to a BaseCommand when it is first created which works fine and shows correctly. However in the OnClick, I want to switch the image at runtime to a different image depending...
View Articleproblem when casting IGeodataset to IRaster
hi, i want to select specified areas from the dem data, which is below a height value. firstly, i use the IMathOp interface to convert the raster to integer. then i use IRasterDescriptor and filter to...
View ArticleHelp ! How to programe the object of armap by using c# ?
Hi everyone ! Details follow : mba110_22 layer has the Enabled field. This Enabled field includes 2 values which are True(pink color) and False(Red color). The first,This Enabled field is True...
View ArticleZoom to selected feature in Page layout
Hi, I have text box in standalone application windows form application(ImapDocument) for parcel No when user click on Search the listview populated with the Parcel Info. it work fine, I am using...
View ArticleSelect Graphics in ArcGlobe using ArcObjects?
Hello, i want to develop one tool for select graphics in Arc Engine globe control application(standalone). In the globe control default selection tool is not visible. How to develop select graphics...
View ArticleTest if IName Object is a Shapefile
Hello, ArcCatalog saves Objects as an IName Object in the Clipboard. I want to test an Object if it is a Shapefile, a Table from a Geodatabase or a dBase-Table. Code: Dim pObject As Object pObject =...
View ArticleAdd Layer (.LYR) failed
Namaste, I am trying to create a layer and save it on a stand alone Engine based application in C#. I have created a graphics layer and tried putting some graphic elements on layer. I was able to save...
View ArticleAnnotate Selected Features Tool
I know in ArcMap you can right click a feature layer in the TOC, navigate to the Selection menu and choose the Annotate Selected Features command. I am wondering, what is the ArcObject that will allow...
View Articleinsert features with attributes
Hi, How can I insert (or copy, move) features from one featureclass to another with original attributes? I have two featureclasses, and both of them have same fields. I want to select part of...
View ArticleSystem.DllNotFoundException:Unable to load DLL 'ArcGISVersion.dll'
I cannot find an ArcEngine 10.1 specific forum so I am putting this here in ArcObjects SDK. We have a WinForms application using ArcEngine 10.1 deployed to many Windows XP/Windows 7 32 bit machines. It...
View ArticlePreventing users from changing Definition Query
Hi all I am using lyr files that include Definition Query to let the user add some part of existing layers to the map. This is done mainly mosaic datasets that have some rasters that the user should...
View ArticleIs it possible to work with MapDocuments from a console app?
Is it possible to work with MapDocuments from a console app. Here's some example code: IMapDocument pMapDocument = new MapDocument(); This is the error I'm getting: Retrieving the COM class factory for...
View ArticleGeodesic distance in ArcObjects for desktop?
I'm writing an ArcObjects solution for ArcGIS desktop 10. I currently use the IProximityOperator.ReturnDistance() method to get the distance between two projected polygons. As far as I can tell the...
View ArticleRenderer On Date Ranges
Hi Everyone, So lets say I want to symbolize one field that has date and time and break it down by Current_TimeStamp for > 90 days, 60 - 90 days etc. Then I would like to render each selection with...
View Article