10.1 ArcObject SDK crash on SdeWorkspaceFactory
I have very weird crash without any error message on my WCF code on ArcGIS 10.1 SP1. If WCF Service is running as local admin application pool on IIS it works without any problem. As soon as...
View ArticleConvertion degree to azimuth
Dear All, I have 2 points which creates a line. I want to get angle of line and then draw another line with +30 degree. I can do it but I always get 7-10 degree more than actual angle. I get distance...
View Article[C#] Distance Units of a Layer
Hello, I am developing an ArcGIS desktop addin. I am attempting to get the distance units (ft, mm, km, etc.) from a layer in my .mxd and display it on a windows form. How can I do this? I can access...
View Articledistance between different points
I have a question for calculation of different points in a layer and need to export the results of distance matrix in a *.csv document with VBA & ArcObjects. (I Have the map layer of points (vector...
View Articleusing an SOE to listen to edit events
Bit of a conceptual issue I have a situation where I need to add business logic to newly created features in a feature service. When new features are created I need to preform overlays and assign an ID...
View ArticleAcGIS Engine 10.1 Mouse Wheel zooming
I need change the default behavior of the map control in (.Net app) of the mouse wheel for zoom in/out-- default is roll forward to zoom out, and I need roll forward to zoom in. In 9.3.1, I was able to...
View ArticleGetting Version specific modified feature classes names
Hello everyone, I was wondering if there is anyway we can get the modified featureclass names in an ArcSDE Geodatabase for a specific version through ArcObjects. Here is the code snippet which I am...
View ArticlepMarker not assigned a value?
Quick question. I have some old code that I have brought over from VB Script and just wanted to see why this error is coming up. Warning: Variable 'pMarker' is used before it has been assigned a value....
View ArticleWhat did you like best about the 2013 Dev Summit?
For those of you that attended the Developer Summit, can you give some insight about what you learned/heard to the rest of us?
View ArticleHow to identify the data not actually matching the spatial reference?
Hi Everybody: I am making a data manipulation tool to handle some WGS84 data. There is some data with "fake" WGS84 spatial reference, which means: when I use ArcCatalog to look at the property of the...
View ArticleJoinTabletoLayere returning different table names in 10.1
After the following code is run the attribute table on the shape file to which a comma delimited text file was joined contains the field names as listed on the first line of the text file. In the...
View ArticleAdd-ins
I made my first add - ins! In a folder Release got files: Convertor.dll Convertor.esriAddIn Convertor.pdb Convertor.xml What does need to be carried on other computer for including of add-ins to ArcMap...
View Articleprogram don't stop on breakpoints!
At debugging of add-ins for ArcMap the program does not stop on breakpoints! Breakpoints marked exclamation Attachment 23359. Why? Attached Images
View Articlehelp ArcObject
ArcGis 10.1. In MS Visual Studio 2010 I don't get a help at pressure of F1 for the elements of ArcObject! Why? I copy name of Interface or method or property and search in Developer Help! Bad way!!!!
View ArticleNon-deprecated way to access IRaster in Java SOE?
As far as I can tell, the only way to get an IRaster from an IMapServerDataAccess in a Java Server Object Extension is to create a new com.esri.arcgis.datasourcesraster.Raster, like this:...
View ArticleSubtle problem with IEditSketch
I have a set of tools (inherited from BaseTool) developed in VS2008 C# for ArcMap 9.3. One of the tools (call it Tool A) uses the editsketch to create a polygon which is then added as a new feature to...
View ArticleFeature Templates
Hello, here is what I am trying to do. I want to make my own edit bar. As far as I could go: There is an Start Edit Button, when it clicked Editor is started plus I list all visible layers and under...
View ArticlePopulating fields in a Matrix format
I am trying to develop an accuracy assessment tool using ArcObjects. As an output I would like to show a matrix with the fields such as road ,land,water etc. These fields will be there in the excel...
View ArticleMDI Parent Problem
I have a form called ChildForm and it includes a globeControl. When i try to add a layer when ChildForm is created(in its constructor) and give it to a form called ParentForm layer is not seen....
View ArticleUsing data of shapes drawn by axToolbar
Dear all, I created a new C# project, added axMapControl and axToolbar with some elements in it. My toolbar has "New Line", "New Polygon", "New Circle" and etc. I can use them without any problem. My...
View Article