A framework, developed by Microsoft, that compiles any of several COM-based programming languages into machine-executable language.

learn more… | top users | synonyms

3
votes
1answer
248 views

ArcGIS10: Publishing GPtools etc. in AddIns

I'm creating an ArcGIS 10 add-in in .NET C# which contains some tool commands and an extension class. This extension is being launched on application start-up. If I create any custom GP Tools, ...
2
votes
1answer
226 views

Save spatial reference to application settings?

Having created a tool as a macro for several geoprocessing tasks, I'm saving user input to application settings so the user doesn't have to enter all required data on each use. I'm stuck on saving ...
1
vote
2answers
543 views

Opening a custom model's geoprocessor window with ArcObjects

I have developed a custom model using ModelBuilder in ArcGIS, and I would like to use a .NET Base Command to open the geoprocessor parameter window for this tool so the user can enter their ...
3
votes
1answer
648 views

How can I programmatically project the Z value of a z-aware feature point, using ArcObjects in .NET/C#?

I discovered the following code leaves the Z coordinate of featurePt untouched: // if not WGS84 project it if (!SpatialRefsEqual(featureSpatialRef, srWgs84)) { // featurePt here is a Z-Aware ...
11
votes
6answers
5k views

ESRI ArcMap Add-in with app.settings not recognizing app.config changes

I have an ESRI Add-in developed for ArcMap which requires a configuration file. After spending a while trying to read config values from a single App.Config file (and always getting null) I believe ...
8
votes
3answers
3k views

Trying to find a .NET GeoJSON library

I'm trying to find a .NET GeoJSON library which I can use to export my SqlServer2008 spatial boundaries (in binary format -> eg. STAsBinary()) from my .NET code to my HTML frontend to display on a ...
3
votes
1answer
699 views

Can ArcGIS Desktop 10 Add-in Use IronPython?

Coming from the same background as the original poster in this thread, I wonder if anyone has had any success creating an Arc10 Add-In using IronPython. I have been able to access ArcObjects via ...
1
vote
1answer
263 views

Capturing Feature Dragging and Dropping, ArcEngine 10 .net 4

I am currently trying to implement something that captures the feature that i clicked on and dragging. Basically i want to be able to "OnMouseUp" figure out the item I was dragging, so I can do some ...
6
votes
1answer
1k views

ArcObjects C#: Create Random Points fails with ERROR 999999: Error executing function

I am having trouble running some ArcObjects C# code that calls create random points. I would not be doing this in ArcObjects, but I am suffering with the same issue using Arcpy as seen here: ...
1
vote
0answers
332 views

Argument is not a com object : null

With ArcEngine 9.3.1 in java (but I suppose, it's the same in .NET), I'm developping an application which loads a mxd file. This file contains about 20 layers with shapefile, JPG's, TIFF's files. This ...
2
votes
1answer
378 views

Using IDocumentEvents_Event from a .NET 4 assembly within ArcMap

Are there a known issues when working with events from .NET 4 COM assemblies within ArcMap? For example, when using IDocumentEvents_Event from a .NET 4 assembly in ArcObjects, the event appears to ...
7
votes
4answers
3k views

Reading GeoTiff using .NET

Is there a managed library for reading the coordinates from a geotiff file in .NET ? I know it can be done thru GDAL, but I am looking for a managed alternative.
3
votes
1answer
478 views

Null values in plugin data source

How do you appropriately setup a plugin data source to allow for null values (in .NET - C# preferred)? I'm currently setting up a field using: field.Type_2 = esriFieldType.esriFieldTypeSingle; ...
3
votes
0answers
237 views

Alternative to IMapServer2.ExportScaleBar

Does anyone know a good alternative to the IMapServer2.ExportScaleBar function? I want to do essentialy the same task, but outside the ArcGIS Server environment. For a given map scale, predefined ...
3
votes
1answer
675 views

ArcGIS Visual Studio IDE Integration Framework

i need to integrate arcgis 9.3 with visual studio c# 2008 express edition. i found the integration framework for 9.1 but no chance for 9.3 and i've seen a lot of questions on web about it. What ...
5
votes
1answer
158 views

File Browsing Dialog for Tables in Spatial Databases

I am looking for a file browsing object that allows a user to navigate into the different types of geodatabases. For example, the ability to navigate into a Spatialite/PostGIS/ESRI File ...
3
votes
1answer
705 views

Wifi Positioning System (WPS) setup

I need to develop a shopping mall GIS. I have no idea to develop it. The shopping mall GIS should function like GPS (guides user to desire shops). Do I need to set up some GIS device at each corner of ...
2
votes
0answers
328 views

How to Create Custom ZoomIn Button that is Windows Tools Button with Custom Cursor?

I want to create large zoomin Button without toolbarbutton. I created a 'Zoomin Script' on axMapContorol. It worked is fine but I can't set cursor. My code is as follows: IMapControl3 mapControl = ...
3
votes
2answers
430 views

Custom Query Task

I'm building a web application in ArcGIS Server for .net and I want to create query task for each layer so that each query depends on the previous result query task, how can I do that... please help ...
3
votes
1answer
228 views

clicking button in QueryAttributesTask by code

I need help, I have a website developed using Argis Server 9.3 and Visual Studio 2008. The map is inside the website via an iframe and it receives the input to be used in a custom query via ...
4
votes
3answers
904 views

Java or .net for gis application

I currently use python for GIS scripting in arcgis and image processing using GDAL library. Now, I want to improve my programming skills for GIS application development both for desktop as well as ...
2
votes
3answers
1k views

how to configure an arcgis server service to enable multiple editing

I'm using ArcGIS Server 9.3.1, ArcSDE, VS.NET 2008 and I'm trying to enable a service to be edited multiple times, the service its going to be public and it will be used to report emergencies and ...
2
votes
1answer
296 views

How to specify which component of a file is imported when using a PluginDataSource?

In my application a plug-in datasource has been implemented to read specifically formatted files containing a mix of data types, including geometry in the form of polygons, lines, and points. Using ...
2
votes
2answers
344 views

Is it possible to rearrange layers on the fly?

I'm involved in a project where one of the main features is that the users will have the ability to select wich layers will be available for him to view on the map, the layers then should be loaded ...
3
votes
1answer
166 views

Initiate a pop-up before accessing a .net out-of-the-box web map

I need to create a pop-up that initiates as soon as a user clicks on a web map, or accesses the link from another location. The map is an ArcGIS Server out-of-the-box .net app. It's for a disclaimer ...
5
votes
2answers
343 views

Show loading icon with custom tool

I have a custom tool in vb.net for a web application, i'm using Asp.net, the class is in vb.net and the gis service is in Arcgis Server 9.3 sp1, the tool makes a selection of layers and takes a lot of ...
2
votes
2answers
617 views

Iterate through TOC elements in ArcGis Server 9.3

I'm developing website with a custom tool in ArcGis Server 9.3 using Visual Studio 2008 and the ADF components, the thing is that when I click on my custom tool it calls a class, this class needs to ...
3
votes
1answer
821 views

How can I programmatically add a new feature template to the “Create Feature dockable window”?

This is a new question but a continuation of this post: How can I programmatically display the "Create Features" dockable window in ArcMap 10? I like the new template system in ArcGIS 10 but for ...
5
votes
1answer
2k views

How can I programmatically display the “Create Features” dockable window in ArcMap 10?

When I start editing in ArcMap 10, by default the "Create Features" window is automatically opened and docked. Stopping the edit session hides this window. When I use the IEditor:StartEditing method ...
5
votes
2answers
2k views

How can I disable and enable an ArcGIS 10 Add-In button?

Is there a way to enable / disable Add-In buttons / tools?
7
votes
1answer
2k views

ArcGIS 10 Add-In compile problem - Why are new edits to code igonred by ArcMap?

I've been compiling and debugging my Add-In (a toolbar with a few menus, custom commands, custom selection tool and a context shortcut menu) with no issues until suddenly the edits and changes I do in ...
2
votes
2answers
755 views

Problems closing dbf-table edited with ArcObjects

To change values and add new values to a dbf-file, I connect to the dbf and use the ITable interface to make the edits. At the end I release the COM-objects of the table and the workspace. But when I ...
1
vote
2answers
192 views

How can I determine whether a feature class is a 3D feature class (HasZ)?

I would like to be able to determine whether a feature class passed to a procedure is a 3D feature class (hasZ) or not. How can I do this in VB .Net & ArcObjects?
5
votes
1answer
698 views

Why is SymbologyControl missing symbols in XP?

I'm using the the code form SymbolForm.vb in this sample: Change layer rendering using the SymbologyControl It's working great on my developer machine with Windows 7, 64bit. But when I deploy the ...
7
votes
4answers
582 views

Newbie to GIS Development

Greetings everyone, I am new to GIS development and was wondering if there are tutorials available for development in ArcGIS 10. I have some experience writing simple scripts in python and fooling ...
2
votes
2answers
648 views

.NET console application running super slow all of the sudden

I have a standalone .NET console application that (through ArcObjects) processes DWG files, extract coordinates, and pushes them to SQL Server. It's smoking fast and can process a DWG in a matter of ...
7
votes
5answers
2k views

Are there any .Net opensource library for geometry operations?

Are there any opensource librarys for doing geometry operations (union, intersect, relation...) in .Net?
2
votes
1answer
2k views

With Geographic Coordinate systems, why does my spatial query select all features from a feature layer?

Background: Add-In for ArcGIS 10 Desktop via ArcObjects for .NET The below code returns ALL features for the layer when the map is specified with any Geographic Coordinate System. However, the below ...
3
votes
0answers
552 views

How to return FeatureLayer from gp service(using custom function tool) (.NET)?

My basic problem is that I have a custom function tool HLZCalulation that I created. It takes in a string to a file gdb , opens it, does some calculations, and then returns a featurelayer with the ...
2
votes
1answer
1k views

How to show attributes of a new feature in Attribute table area when using IEditor3 and IEditTemplate, ArcGIS 10

ArcObjects SDK for .NET and ArcGIS 10 Desktop Quick snippet to set the stage: IEditor3 editor.StartOperation(); IFeature newFeature; // fill out newFeature.Shape, etc. newFeature.Store(); ...
6
votes
2answers
852 views

How do I deserialize GP Result Json?

The value part of a GP Result can be any type of GP object (or literal). Does anyone know of a general way to deserialize this, preferably with either WCF or Json.NET? I'd prefer not to have to ...
4
votes
2answers
8k views

How do I serialize/deserialize .NET dictionary without key value elements?

I'm trying to get my C# class to serialize to a json that complies with GP Job, for example: { "jobId" : "jb10b153b77e74a839e31af53e5d4d0d1", "jobStatus" : "esriJobSucceeded", ...
8
votes
2answers
1k views

Can custom map tiles be consumed via ArcObjects within my ArcGIS 10 Desktop AddIn?

Can I programmatically consume and render custom map tiles in ArcMap via our ArcGIS 10 Desktop AddIn? The AddIn is built using the ArcObjects SDK for C#/.NET and ArcGIS 10. Pulling and rendering map ...
9
votes
6answers
7k views

Learning .NET for arcgis use (mainly desktop) - how to start?

I know that many of you guys don't like GIS analysts that turn (or act as part time) programmers and think that their codes are sloppy (which I guess that they are many times) but as everybody has to ...
1
vote
3answers
2k views

How do I make an icon with some text to popup when I hover over it and for it not to be slow?

I would like to make an icon on the screen and have hover popup text. Ideally the text will be black with a white background. Right now my icon is a bitmap created like this GraphicTrackerClass ...
10
votes
2answers
2k views

Issues with geoprocessing with .NET

There are some nice features in ArcToolbox we can use, but for some reason, this is NOT working properly. It doesn't even throw me an error. My software is running inside ArcMap, so no need to ...
0
votes
1answer
132 views

Inherited EditorServerCommandAction double posts returnMessage

I have a bunch of inherited EditorServerCommandActions in my WebADF solution and when ever I use the ReturnMessage inside EditorServerAction() it generates two javascript popups at the clientside. Is ...
0
votes
3answers
2k views

How do i popup a context menu with custom command items in a Select tool OnMouseDown (Right Click) with VB .Net?

This should be simple... I am converting VBA customization to VB .NET in VS 2008 Express Edition. In VBA i have a custom selection tool. Aside from just selecting features, when OnMouseDown receives ...
3
votes
0answers
294 views

How do I Convert from LayerDescription.SelectionFeatures to GraphicsLayer?

How do I convert (in a clear and concise way) from ESRI.ArcGIS.ADF.ArcGISServer.LayerDescription.SelectionFeatures to ESRI.ArcGIS.ADF.Web.Display.Graphics.GraphicsLayer I want the selected ...
3
votes
2answers
1k views

How to merge two polylines in code?

We are currently working on a project where we have to merge sections (polylines) to a route, but the big question is how you do this. We have currently tried adding those two as segmentcollections ...