Rebuild Map Cache Programmaticall Using Geoprocessing To Run Locally on...
I'm trying to run a toolbox item locally on an ArcGIS Server using the GeoProcessor in c#. There are several toolboxes available that look like they should work: C:\Program...
View ArticleHelp fix tool to which uses a txtbox to make selection. pFeatureSelection broken
Hello all, I'm trying to migrate some VBA code written in 9.2 into a Win7, Office 2010, 10.2 format and I'm having a little trouble as I'm very novice at programing. My tool is pretty basic that I'm...
View ArticleHow to get a segment of a polyline at a certain location?
Hi Everybody: Given a polyline and a point on it, how can I find the segment of that polyline on that point? I checked the ISegmentCollection interface but couldn't find a way to do it. How can I do...
View ArticleArcobject 10.2 SOAP SOE IMAP replacement functions
Hi Guys, I would like to ask that what should we do if we need to use IMap, IMapServerObjects, to achieve some functionality on optimized map service with ArcOject 10.2? Because "optimized map service...
View ArticlePrecision Problem of "Intersect" from ITopologicalOperator
I tested "Intersect" from ITopologicalOperator, and found out that the result was not precision. My test is very simple. I created two polylines, each of which had two vertices: the first polyline:...
View Articleiexportoperation issue after migration to 10.1
Please help!! After migrating my ArcEngine app from 9.3 to 10.1 I get an error trying to export a featureclass. This issue just started after the application was moved to 10.1. I've been stuck on this...
View ArticleShapefile created with vb.net addin attributes blank until exiting arcmap. Help
I have created a shapefile using the code below. The addin tosses no errors and the shapefiles show up in Arccatalog with the geography viewable in the preview window. However if you preview the table...
View ArticleGet list of feature classes and tables with archiving enabled
Hello I'm trying to find a way to get list of all feature classes and tables (using C#) from a database which have archive tables. Currently I'm searching through all feature classes loaded in mxd...
View ArticleHow to load a raster back into a raster dataset without file I/O?
I have this fairly complex routine running as a service. All was well right up until I called one of the methods and instead of returning a RasterDataset as an IGeoDataset it returned an IRaster as the...
View ArticleHow to know whether an IElement object is moved or deleted on the map? or...
Hi Everybody: I am writing an ArcMap 10.0 extension that provides a multiple step workflow. In one of the steps of the workflow, my code will generate a graphical element (IElement object) on the map...
View ArticleAdd-in OnLoad fails to execute when opening MXD from command line
OnLoad is supposed to be called when opening a document with a persisted stream. But, when I try loading the MXD from the command line (ie. arcmap.exe somemapdoc.mxd), OnLoad never executes in my...
View ArticleReturn custom object in Server Object Extension (SOE)
Hello all, Can someone show me the way to expose a custom object (for example a list of enterprise) in a Server Object Extension please. Thank you very much.
View ArticleIObjectClassEvents_Event not firing events on Undo?
Hi, In our .NET (C#) ArcMap extension, we are successfully listening to Create/Change/Delete events on a feature class (well, a Table). However, we just realized that an Undo does not trigger the...
View ArticleAsync Geoprocessing problem with Cancel method
I have a simple geoprocessor that runs as async Code: _geoProcessorResult = (IGeoProcessorResult2)Geoprocessor.ExecuteAsync(ArcPadGeoprocessorToolName, operationalParameters); as the process is working...
View Articlecan I do this when deploying an SOE library?
Up until 10.1 we had an implementation that worked quite well. We had a single class library. It had the handler for the tools (GPFunction), the individual definitions for parameter info et. al., and...
View ArticleArcobject 10.2 SOAP SOE export base map service like world_streets_map
Hi everyone, I have a soap soe which need to add graphics, and export the map service with graphic extent as a pdf file. But we do not have aerial data to create a base map layer which can be published...
View ArticleAdd_in Deployment With DLL Dependencies
I have developed two Add-ins for ArcMap using VB.net. Both use the same DLLs dependencies. However, when users have both Add-ins loaded in ArcMap they may differ in the versions of these DLLs that they...
View ArticlePracel Fabric Editing
Does anybody have any hints or samples that deal with parcel fabric editing? What I need to do is split an existing parcel into 2 pieces with construction lines and have the ability to do some post...
View ArticleGet Join Information for Invalid Layer
I've got some layers from an SDE database; that have joins in them. The problem is the database has been moved to a new server, so I need to update the connection strings; I can change the the...
View ArticleWhat object to pass to buffer.dissolve_field?
Hi, I am using ESRI.ArcGIS.AnalysisTools.Buffer to buffer a feature and dissolve on two fields. Does anyone know what type of object I need to pass to the .dissolve_field property? I have tried a list...
View Article