Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [arcobjects]

ArcObjects is a set of COM-based APIs from ESRI Inc. that are used in several of their products including ArcGIS Desktop, ArcGIS Engine and ArcGIS Server.

1
vote
1answer
256 views

Using IFieldChecker in ArcObjects?

I'm having some problems using IfieldChecker. I have this following code, which I'm trying to test permitted/not permitted fields, according to my workspace public IEnumerable<IFieldError> ...
2
votes
2answers
594 views

ArcObjects table views or SQLite3 in Python?

Given a larger csv (1000+ points) with attributes, I need to do both attribute and spatial queries on the data. Would it be faster to read the points into an xy feature class, and do the spatial and ...
2
votes
1answer
340 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 ...
0
votes
0answers
489 views

IronPython + ArcObjects

Is it possible to access ArcObjects with IronPython?
130
votes
5answers
23k views

Accessing ArcObjects from Python?

I would like to be able to script some things that are not exposed via arcgisscripting or ArcPy. How do I access ArcObjects from Python?
2
votes
1answer
856 views

Setting toolbar server control currenttool to none with ArcObjects and ArcGIS Server?

I am only using the map control and two toolbars on a custom webadf application. One toolbar contains the standard map navigation controls. The other toolbar is only one toolitem which references a ...
10
votes
2answers
1k 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 ...
3
votes
1answer
575 views

ITopologicalOperator and Z Values

I have 2 polygon featureclasses with Polygon ZM features. I am trying to do a ITopologicalOperator.Difference() on these feature classes but it errors saying that: Geometry cannot have Z values ...
4
votes
2answers
2k views

Unable to cast COM object (IMapServer --> IMapServerObjects)

I have just deployed an AGS-based application to our web server. This app worked great in development, but after deployment to the server I got the following error: Unable to cast COM object of type '...
6
votes
2answers
1k views

MapScale not being persisted properly in mxd when programmatically changed outside of ArcMap environment

I am trying to change the scale of a map in an mxd OUTSIDE of ArcMap in a standalone Windows application. The problem is the scale is never persisted - the best code I have come up with is the ...