Quantcast
Channel: Forums - ArcObjects SDKs
Browsing all 1374 articles
Browse latest View live
↧

Transfer output value from tool to text box on dockable window?

Hi All - I'm currently a student working on my master's thesis which involves a custom ArcGIS Add-in. I have a tool that calculates the area of a user drawn polygon and returns the area value as a...

View Article


How can I use IMapAlgebraOp to achieve the Raster Neiborhood Statistics?

I have a code like this: Code: ................... IGeoDataset pGeoDataset = pDataset as IGeoDataset;  IMapAlgebraOp rsalgebra = new RasterMapAlgebraOpClass();  IRasterAnalysisEnvironment rasAnaEnv =...

View Article


Image may be NSFW.
Clik here to view.

The area of feature don't equal the value Shape.Area ?

Hi everyone, I used this statement to get the area value of polygon feature: Code: while (pFeature != null)     {                               IGeometry shapeCopy = pFeature.ShapeCopy;...

View Article

Image may be NSFW.
Clik here to view.

Mapcontrol not reflected when i split polygon with line?

I have created a split tool which will create polyline and based this line i want to divide that polygon into two separate polygons. i have write below code it will create left side and right side...

View Article

Button displays caption not image on toolbar add-In

I created an Add-in using the ArcObjects SDK for .Net in Visual Studio 2010. Initially I just had one button on the toolbar. Later I decided to add another button. I added the the button manually in...

View Article


IComboBox with dynamic contents

In ArcScene: I have implemented an IComboBox where the content changes: Code: void MyComboBox::updateComboBox() {   std::vector<CComBSTR> comboBoxItems;   getComboBoxItems(comboBoxItems);   long...

View Article

Setting Map Distance Units to Degrees Minutes Seconds

I have a button in my Addin that changes the Data Frame display distance units to decimal degrees, which works well: IMxDocument mxDoc = ArcMap.Document; ESRI.ArcGIS.Carto.IActiveView activeView =...

View Article

ITopologicalOperator.Intersect V.S. ITopologicalOperator6.IntersectEx?

Hi Everybody: I am looking for a method to find the 3D intersection of two polylines with Z-coordinates. I checked the functions ITopologicalOperator.Intersect and ITopologicalOperator6.IntersectEx....

View Article


Image may be NSFW.
Clik here to view.

How to provide window to select default ArcGIS 10.2 CRS

From ArcGIS 10.2 set of CRS not present anymore in file system, but integrated in PE. ArcGIS desktop 10.2 show create virtual representation of folder structure on the fly. My question how from my code...

View Article


ISpatialFilter.GeometryField Property - What specifically is it used for?

Hey all, I'm setting up a function to "GetIntersectingImagery" which basically takes either a feature, or an envelope from ActiveView.Extent, and select all items from a raster catalog. I copied a bit...

View Article

Image may be NSFW.
Clik here to view.

Help getting programmatically getting features Display Expression and Label

There is some code in the following link to get the display text. Re: How to get label text for each feature in vb.net http://forums.arcgis.com/threads/617...ture-in-vb.net This seems like a lot of...

View Article

Classes registered under HKEY_CLASSES_ROOT in 10.2?

Apologies, I only have a tenuous grasp of the code I'm dealing with here. I'm trying to update ArcObjects code from 10.0 to 10.2. In 10.0 we installed "ArcGIS Server for Microsoft .NET Framework 10 -...

View Article

Checkbox and Radio Button Programming on GUI

Am I on the right path here with my checkboxes and radio button programming. I have about three different checkboxes and a few radio button that I need to use in a If then statement. Unless, there is a...

View Article


ArcCatalog AddIn - storing geometry error

Hello, I have an ArcCatalog addin that is transfering data from an SDE database to a file geodatabase, and I am running into an issue trying to store geometry of copied features. The feature classes...

View Article

Custom text background in java arcobjects

Hi, I use the ArcObjects SDK 10.2 Java Platform. I have made a custom text background based on the sample Filled leader callout in order to improve the leader position of a line callout text...

View Article


IRepresentationRule.InsertLayer has not desired effect

I am trying to create line-Representations with several Layers. Therefore I am using the IRepresentationRule.InsertLayer method within a loop. The line-representation should have several symbol-layers...

View Article

Image may be NSFW.
Clik here to view.

Calculate distance from IRing behaves inconsistant to IProximityOperator

Hey around, I have a two featureClasses of type Polygon where the slave-class depends on the master-class. Having said this I want to reshape some portions of the slave-class (I call them Candidates...

View Article


Query a shapefile with ordered results

In VB2010 I am using the IQueryFilter interface to hit a shapefile and get back some records. It works great but am having trouble figuring out how to get results back in an order as input by the user....

View Article

Is it possible to bind Engine applications to both Desktop and Engine Runtime ?

Hello, I am new to development, so if I ask dumb questions please bear with me. I have a code build by my senior which I am migrating from 10 to 10.1, it is a standalone Engine application. Earlier the...

View Article

Image may be NSFW.
Clik here to view.

How to compute surface of raster or any point using ARCOBJECTS?

I have a raster image whose values are a digital elevation model of terrain. I need to know the surface type (topographic characterization) of particular points along transects of this DEM. How to find...

View Article
Browsing all 1374 articles
Browse latest View live