ArcObjects is a set of COM-based APIs from ESRI Inc. that are used in several of their products, ArcGIS Desktop, ArcGIS Engine and ArcGIS Server.
0
votes
0answers
5 views
How to use ArcObjects to limit classes visible in legend?
Is there a method use ArcObjects for .NET to manipulate the "Only show classes that are visible in the current map extent" option for legend items?
The GUI for this functionality is accessible via ...
0
votes
0answers
16 views
Floating Point UniqueValueRenderer
I am trying to build a unique value renderer using ArcObjects .NET. All the samples that I have seen use the attribute table to build the UniqueValueRenderer. However, my raster does not have an ...
2
votes
0answers
30 views
Building Custom Programs with ArcObjects
I found another thread at ArcObjects Resources that asked for general ArcObjects resources but most of the resources in that thread are obviously about building add-ins for ArcMap.
I need help ...
1
vote
1answer
64 views
ESRI Raster Remap with Decimals
I have a requirement where the user would like to see the output value in a raster as a decimal. The user will input a series of ranges with a cost associated to them. For instance
0-5, 1.20
...
0
votes
0answers
19 views
Changing polyline vertex followed be union causes exception
I'm new to this arcobject stuff. I'm trying to change the last vertex on a polyline feature. (using C#) After the change I need to add this changed polyline into another. It seemed to work except if ...
1
vote
0answers
21 views
Using the esri analysisTool Erase class in C#
I am trying to use eSRI.ArcGIS.AnalysisTools.Erase class but I keep getting blank layers.
I can get the layer that can be used for the input and the layer for the erase. I don't really understand the ...
-1
votes
2answers
27 views
Retrieve common paths of polylines ArcObjects
I have a polygon featureClass and a polyline featureClass. I now want to handle all geometries within the latter that are contained in the boundaries of polygon features, that means they shell simply ...
0
votes
0answers
37 views
Problem with multi-threading and geoprocessor tool in c#
What I am doing: I am trying to run a geoprocessor tool in a background thread other than UI thread. I am passing string path of arcObjects and creating that arcObject in my background thread. Then I ...
1
vote
0answers
24 views
ArcGIS basemap Url and querystring parameters
This is very basic question but might quite important.While creating Arcobjects addin we give Url for basemap as Following:
...
1
vote
0answers
14 views
Class Extension Problem - RelatedObjectChanged not firing
I'm trying to set up class extensions to have 3 feature classes communicate. I have feature classes A, B, and C. A has a simple, forward relationship with B, B has a simple, forward relationship with ...
2
votes
1answer
68 views
How can you tell if a RDBMS is an ArcSDE Geodatabase?
I want to know if there is any way I can query the RDBMS to determine whether it is an ArcSDE Geodatabase, or if I have to do it through ArcObjects. I am wondering if it would be enough to check if ...
1
vote
1answer
27 views
Did anyone use the IRelationalOperator Interface to check if a point feature within a polygon feature?
I use the following code to check if a point feature is within a polygon feature
pFeaBlock is a polygon feature and Fea is a point feature
int blockID = -1;
IFeatureCursor pBlockCursor = ...
0
votes
0answers
11 views
How can I create a Representation control
I want to make a dialog of my own to in ArcMap handle cartographic representations in a slightly different way. However, I ewmbed the standard representation editing control. Does anybody know what it ...
1
vote
1answer
32 views
How to add a raster to ArcMap if file name is unknown?
I have a raster file for which I know the the workspace, but not the filename (it is a temporary file generated by operations from my program that randomizes its name on creation, i.e. "ras457"). I ...
0
votes
2answers
55 views
Objects in this class cannot be updated outside an edit session
HI i am trying to update my feature class with some new parameters using IEditWorkSpace,
Following is my code ---
IWorkspaceFactory workspaceFactory = new AccessWorkspaceFactory();
IWorkspace ...
0
votes
0answers
10 views
How do I draw an EllipticArc (or any other Segment) in a Dynamic Layer?
I am trying to draw an EllipticArc (or any other Segment for that matter) in my Dynamic Layer using the ArcObjects C++ API. For something that seems like it should be straightforward, I am having a ...
0
votes
2answers
41 views
Destop application using arcobjects library
I develop a destop application with following environment -
1) Java jdk version 6 update 25 (for 32bit ).
2) Java Arcobjects Library.
3) Window Xp.
Its working smoothly on 32 bit Computer , my ...
1
vote
0answers
27 views
ArcObjects: How to Speedup Spatial Query to Feature Layer?
I have ROAD (POLYLINE) Shape File with more than 400,000 Records. I am working on a code which goes like this:
Loop through all Feature of the Shape File
Take First Feature
Find the LAST VERTEX of ...
0
votes
2answers
47 views
How to move an endpoint of a polyline feature to specific coordinates
What looked like a simple task has kept me busy for a while now. I would like to snap the endpoint of a polyline feature to a known point of which I know the coordinates.
My first try was the ...
1
vote
0answers
38 views
Create Polyline feature in Z M Enabled Featureclass
I want to create a polyline feature in Z M enabled featureclass.
Point1.x= 1000
Point1.Y = 1100
Point1.Z = 1200
PointCollection.addpoint Point1
Point2.x= 5000
Point2.Y = 5100
Point2.Z = 5200
...
2
votes
1answer
44 views
ArcObjects Background Process (Thread) Progress Bar?
Using a toolbar, written in ArcObjects, it is possible to push processing to a separate thread so that the GUI does not lock.
Is it possible to have the thread update a progress bar in the same ...
1
vote
2answers
61 views
Parallel Computing and Raster Operations in ArcObjects gives cryptic error
This is a problem I have been struggling with for awhile. The code below takes 1-3 input feature layers (pFLayer) that were stored into a list called pFeatureLayerCollection, casts them into ...
0
votes
0answers
38 views
How to fill selected feature(s) with transparent red fill using ArcGIS Server 10?
I'm writing a Server Object Extension (SOE) for ArcGIS Server 10, and I'd like to change the symbology of features selected from my feature layer such that the features are shaded with a transparent ...
0
votes
0answers
35 views
How to create sector figure in ArcObject?
How to create sector in ArcObject 10.1? Now I draw one point, two lines, two arks. But I think it is not good. It is differents objects. I need one object.
Well. Now I drawing:
IElementCollection ...
0
votes
0answers
56 views
Can I display google map in arcgis desktop application without violating the license?
I have desktop application on C# 4.0 based on ArcObjects. What controls do I need use to display google map? Is it real?
0
votes
3answers
91 views
For a SDE FeatureClasses list all Roles that have been Granted any Privileges on it, and which Privileges each Role have on it
I have searched through the ArcObjects 10 SDK API and googled, but havnt been able to find what I am looking for, so thats the reason for me posting this question.
Q: How can I for a SDE ...
0
votes
0answers
26 views
Could not load native library error (Arcobjects)
I created a destop application using eclipse IDE , it works perfectly fine over eclipse.
Problem happens when i try to export it as runnable jar file.
This is my project set up in eclipse juno
I ...
0
votes
1answer
55 views
SDE FeatureClass Granting and Revoking Privilege with ArcObjects
Q: How can I with ArcObjects GRANT or REVOKE Privileges like SELECT, UPDATE on SDE FeatureClasses to/from Roles?
The equivalent in normal Oracle would be something like this:
GRANT SELECT ON ...
1
vote
0answers
44 views
How do I get around license error when creating custom tool?
I created a custom geoprocessing function tool according to this link . . ...
1
vote
0answers
33 views
How Display WMS layer in AxMapControl?
I modify application (on c# .Net) based on arcobjects.
It is a desktop application. I use object AxMapControl Map1. I can load .mxd map in it.
Map1.LoadMxFile(mapName);
Map1.Refresh();
Now I need ...
1
vote
1answer
38 views
IQueryFilter where Clause quering two feature class at a time
I need to query two feature class at the same time using IQueryFIlter.
For eg -
FeatureClass -- A has field OBJECTID
FeatureClass -- B has field OBJECTID
what i am tring to do is --
IQueryFilter ...
1
vote
1answer
29 views
ArcObjects C++ - Has anyone successfully used AoToolbarAddCommand?
I am working with the C++ API for ArcObjects (Linux, QT), and I am running into problems with when creating a custom button on a toolbar. I have read up on the C++ specific implementation of creating ...
0
votes
0answers
23 views
Eclipse export as runnable jar file error
I am building a destop application , which takes user input for personal geodatabase and finds feature class in it .
It works fine till i run it in eclipse , but when i export it as a runnable jar ...
1
vote
1answer
58 views
Arcobjects Multithreading in C++ - 'Aborted' when modifying Geometry
My project is required to be cross-platform, so I am using the C++ API for ArcObjects. My application creates a new thread which listens to a network socket broadcasting location information. I am ...
1
vote
0answers
21 views
IQueryDescription SQL Query Returning Limited Records
I created a SQL query that is working in SQL Management Studio, but as soon as I transfer the query into ArcMap's IQueryDescription to try and run it with a User Form, the results that I'm getting ...
0
votes
0answers
27 views
Get selected features on ArcMap in arcMap Addin (eclipse)
I am building a custom arcMap Addin button which onclick event tells info about selected features.
Following is my java class ---
public class Break extends Button {
/**
* Called when the button ...
3
votes
1answer
38 views
How to get any changes happened in the current SDE version?
How to get any change done on the map in the current version of sde. using arcObjects
e.g. if i had a line on the map. and in the current sde version i changed the length of that line. how to get this ...
2
votes
1answer
35 views
ArcMap AddIn Build Error when referencing external ActiveX Interface in VS2010
If the "Register for COM interop" is unchecked the projects builds without errors.
But I have to reference external ActiveX Interface in my project so I have to have that check-box checked. I am ...
1
vote
1answer
58 views
Opening a InMemory Table and execute some SQL
I have a InMemory that gets created, what I then want to do is run INSERT, UPDATE and DELETE queries on the table. The code i have at the moment is below, I create a new InMemory table, add it to the ...
0
votes
1answer
33 views
does charactermarkersymbol works differently in linux?
I have just started working in GIS. i am trying to project an aeroplane glyph font (character index=111) using charactermarkersymbol but unable to do it in linux.
I am getting the same spherical ...
0
votes
1answer
102 views
Determing partially Overlapped features from two linear feature classes
I have been tring to fing object ids of features that overlap partially.
Input taken is two linear feature classes , i have tried IRelationalOperator Overlaps methords , but it seems that it only ...
4
votes
1answer
51 views
What is the difference between ActiveView, FocusMap and PageLayout in ArcObjects?
I see that different starting points are used when interacting with ArcMap IMxDocument
IMxDocument mxDocument = application.Document as IMxDocument;
IActiveView activeView = ...
2
votes
2answers
50 views
ArcObjects snipped to Select all Features currently visible on the ArcMap screen (ActiveView)
I guess I have to get the extent of the ActiveView and then use it to perform a spatial search.
Is that the proper way to do it?
Please share the code snipped if you have any.
Thanks.
2
votes
1answer
46 views
Coordinate System correctly renders both decimal Long/Lat and some number in the billions
I am new to ArcObjects and I have been creating an application which will (among other things) be reading data in from a sister program and plotting it on the map.I have found out that I can enter the ...
0
votes
0answers
24 views
Fatal Error in Native code
Currently I am tring to execute IQueryByLayer .select() methord.
Whenever I try following code line
ISelectionSet pSelectionset = pQryLayer.select();
It produces the following error in console
#
# ...
1
vote
0answers
51 views
How to wire ESRI.ArcGIS.Desktop.AddIns.Extension to a custom AddIn Button click event?
I am developing custom ArcMap toolbar with various AddIn tools, button and extension. I see the sample how to access the ActiveView events in the extension Initialize() method.
private void ...
4
votes
2answers
54 views
Near analysis with mixed feature types in ArcObjects
I am trying to emulate the Near (analysis) ArcGIS tool in ArcObjects. http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00080000001q000000
I want to use Mixed Feature Types. I have a ...
0
votes
1answer
66 views
FeatureClass to IFeatureLayer
I am trying to covert my feature class to feature layer so that i can pass "IQueryByLayer" over my feature class.
Till now i have my feature class ---
FeatureClass className = new FeatureClass(cc);
...
0
votes
0answers
32 views
How to get The character spacing from a ITextElement arcgis engine 9.3 C#
i have a problem.I can set character spacing to a IElement as ITexElement like :
TextSymbolClass pTextSymbol = new TextSymbolClass();
pTextSymbol.CharacterSpacing = 10 ; //etc
...
0
votes
2answers
155 views
ArcObjects - accessing layer data table from C#
I've spent all day yesterday trying to trace all my the errors but I'm just completely stuck now. Google isn't helpful either.
I'm trying to create a small C# tool which opens my MXD file in ...