.mdb (personal geodatabase) to shapefiles programatically
Hi, I have an mdb file which has a number of shapefiles. I can extract the shapefiles from the mdb file in the ArcMap 10.2 Desktop application. However I am experimenting with an Arcgis plugin and I am...
View ArticleWhy is there a severe performance difference using deleteSearchedRows?
Hi Everyone, We got no bites on this issue over on GIS Stack Exchange, so we're trying here. The issue we are having involves two versioned tables. A function deletes 48 rows from Table A and 48 rows...
View ArticleAdd-In access to service model configuration data
I have an add-in that I have to write for ESRI to do troubleshooting of a problem. I'm moving my service calls from Web Reference calls to Service Model Referenced calls. I have my services connected...
View ArticleAccessing ProgressHelper in a 4.0 application?
We have made extensive use of ProgressHelper in our code to display status's for our users as well as for debugging for the developers. ProgressHelper is in the Esri.ArcgisExplorer.Application...
View ArticleGP executeAsync behavior
Can someone explain this phrase to me, in the context of running inside a servlet? From the ArcGIS "How to run a geoprocessing tool in the background": "Both executeASync() methods submit tools to a...
View ArticleArcSDE connection timeout .NET
If an invalid value for a connection string is passed to SDEWorkspaceFactory.OpenFromString(), the call hangs: Code: IWorkspaceFactory workspaceFactory =...
View ArticleVS 2010 can't create add-in project
I'm using VS 2010 with the ArcObjects 10.1 SDK installed. I have ArcGIS 10.1 Advanced installed. When I try to create a new ArcMap add-in project in VS I get the error message 'This template requires...
View Articleexport from cad to shapefile
i have use arcgis10.1,arcobjects.net. i did following code ESRI.ArcGIS.Geoprocessor.Geoprocessor gp = new ESRI.ArcGIS.Geoprocessor.Geoprocessor(); gp.OverwriteOutput = true;...
View Articlechange x and y when mouse move display on status bar with...
i have used status bar to display x and y coordinates in esriDUDegreesMinutesSeconds form. i have created the code like this statusBarXY.Text = string.Format("{0}, {1} {2}", e.mapX, e.mapY,...
View ArticleIActiveViewEvents SelectionChanged stops working after IDocumentEvents...
I am developing an extension to ArcMap and trying to listen to the SelectionChanged event. There are several classes in my code that want to be notified when the selection changes so I was trying to...
View Articleimport gpx file to shape file
i am using arcobject .net10.1,arcmap10.1,arcgis10.1. i want a shape file which is created from .gpx file(GPS file) .i have search every where but cound'nt find any information related to my query. i am...
View ArticleGet results from ArcMap's built-in measure tool.
Does anyone have a clue how to programmatically access the results of ArcMap's built-in measure tool (the little ruler) via ArcObjects? I have a custom button on a form to launch the tool. Ideally,...
View ArticleIDatasetContainer.addDS (dsFromFDLFIle) possible?
Using FME / Safe software an ESRI add in is able to get data from the servers - Arc Map 10.0 is not able to consume feature services from Arc Servers 10.2 or higher. After getting esri's help we were...
View ArticleConverting Cell Size to Pixel Dimensions
Hi! I am attempting to cut a 1024x1024 pixel image at the native resolution of the image. In order to do that, I need to know the dimensions of the Clipping Graphic (GraphicSize). If the projection is...
View ArticleArcEngine custom toolbar C#
Hello, I am playing with the idea of an ArcEngine application with a custom toolbar I can add to the map control, but I am a bit stuck. I have added a new item -> Base Toolbar, where I can add esri...
View ArticleIUtilityNetworkGEN and IUtilityNetwork
Hello, I'm about to start a development project with sdk 10.2 .net where I'll need to implement some tools using a network follower (geometric network). I've seen that there are this two Interfaces I...
View Articlegeoprocessor hangs
I'm using Java with arcobjects. Prints "Trying to create a gp object...", but never gets to "..Done!". Any suggestions? Have lots of other arcobjects code that works. For some reason can't get this one...
View ArticleIGeoProcessorEvents3 progress messages from python script tool?
No matter what I've tried, I cannot get progress messages from a python script tool to fire any of the IGeoProcessorEvents3 "onProgress" handlers. Is that even possible I wonder? The progress bar does...
View ArticleEvents_OnCreateChangeFeature detect when all attributes are filled
Hi all Is there a way to detect that all attributes are filled. I need to check that the user populates some specific fields to run my code in the Events_OnCreateChangeFeature or Events_OnChangeFeature...
View ArticleHow to convert map coordinates to page coordinates?
I have a map inside a page layout in ArcMap. Currently, I use this code to convert geographic coordinates to page coordinates: Code: IMap map = ... IPageLayout pageLayout = ... IDisplayTransformation...
View Article