Need some help on evaluating the Automation Exception in Network Analysis
Hi, Can any one please help me evaluating the following Automation Exception I am getting while I am trying to get the state of Network Dataset through the INALocator reference in arcobjects Java. The...
View ArticleAdd DTED data to a map layer
Hello I'm working on a university project based on ARCGIS .NET SDK (I use C#). Now, I'm able to add maps and draw lines and stuff... I want to add a .dt0 DTED file to axMapControl and add a function to...
View Article[C#] get IRasterWorkspaceEx from IWorkspaceFactory
Hello I need to create IRasterWorkspaceEx to use it for creating IMADtedLayer. This is how: Code: IWorkspaceFactory wsf = new RasterWorkspaceFactoryClass(); IRasterWorkspaceEx rasterwsEx =...
View ArticleSimple question? Sharing data among tools and commands
I am customizing ArcMap using VS2008 with the Developer Kit for .NET. I have created a C# project with some commands and tools and an associated toolbar. I want to share some data among these items...
View Articlesize of scalebar in lat/lon?
My data is in lat/lon but I'd like my scalebar in miles. A rough estimate is good enough. I figure that if I take the latitudes of my extent, a degree of latitude is fairly constant. But it appears...
View ArticleConvert dgn to shape file ?
Hi everyone, I am having a dgn file that include some polygon. Now I want to convert it into the shape file (.shp/.dbf file), are there anyone know this ? PS: I can read elements (line/text/linestring)...
View Article[C#] How to create Line of Sight?
Hello I'm able to load a DTED Level 0 file into a RasterDataset, color it and create a IRasterLayer from it to add into axMapControl. Here is my working code: Code: IWorkspaceFactory wsf = new...
View ArticleAdd-Ins: How to add controls to dockable window
I have been experimenting a bit with creating add-ins for ArcGIS Desktop. I can create buttons, tools, dockable windows, ect. But I cannot figure out how to add a control to a dockable window. I know...
View ArticleLinear Line of Sight of given elevation (not DTED's elevation)
Hello I'm able to get linear line of sight of two points and draw visible and invisible areas like this: Attachment 23005 Well, is there any way to give observer's Z (elevation) and get line of sight...
View ArticleMerge multiple RasterDataset
Hello I can get Linear Line of Sight from a single DTED file; which had beed opened by: Code: IWorkspaceFactory wsf = new RasterWorkspaceFactoryClass(); IRasterWorkspace rasterWS =...
View ArticleNeed some help on evaluating the Automation Exception in Network Analysis
Hi, Can any one please help me evaluating the following Automation Exception I am getting while I am trying to get the state of Network Dataset through the INALocator reference in arcobjects Java. The...
View ArticleHow to use the NEAR Class: the basics ?
(This post was sent in the geoprocessing forum, but I moved it here) I'm using the Java SDK in Eclipse. I want to determine the distance between a point (in a first shapefile) and the nearest point...
View ArticleCreate a point using a TOC template C#
I cobbled together some C# code from a couple of developer samples to make a tool that will create a new point leveraging a point template selected in the TOC. The tool works (creating a new point and...
View ArticleStore new feature in featureclass, Create new Row?
Im working on building a very simple tool that will record the date/time, XY coordinates after a user clicks on the map. The code is crashing when it reaches...
View Articlehow to get point within a distance along a polyline given inPoint?
Dear All, I need to finish the following task: given a point (inPoint) within a polyline (pl), find the point which is: - within the polyline pl - distance along the polyline pl between inPoint and the...
View ArticleCan't use esriControls.ControlsEditingEditorMenu on Child form (C#) ?
Hi everyone, My project include two form: Main form and child form. Each form contains: 1 MapControl and 1 toolbarcontrol. And I added a ControlsEditingEditorMenu to each toolbarcontrol I can use...
View ArticleHow to calculate the draw time of a layer from ArcMap - at some coordinate
Hi , I am planning to write one code, which will calculate the time taking of a layer to draw at one Coordinate. I am not getting any idea like how to start it. Can anyone guide me to achieve using...
View Article[.NET] Show and hide ArcCatalog tabs in runtime
Is it possible to show and hide ArcCatalog tabs (e.g. "Preview" or my custom IGxView) in runtime? For example, I have a toolbar with button in ArcCatalog. I click the button and tab "Preview" (or...
View ArticleFly collision detection
Hello I use ArcMap for load and show DTED data. I'm able to use LLOS (linear line of sight) between two points. What I want is fly collision detection. It means that if you fly between two points -on a...
View Articleexport page layout
I'm using a function I've found here many times ago, and that served me well until now, to export PDF files out of ArcMap through an automated procedure using arcObject (I attach it here). Suddenly...
View Article