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

learn more… | top users | synonyms

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
328 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
372 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
474 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
236 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
667 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
693 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
322 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
426 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
227 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
888 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
343 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
341 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
614 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
817 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
747 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
191 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
694 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
580 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
638 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
542 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
846 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
7k 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
2answers
1k 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 ...
3
votes
3answers
860 views

Open .NET implementation of the OGC Geometry Object Model from Simple Feature Access 1 specification?

I am looking for a .NET implementation of the geometry object model described in OGS's Simple Feature Access, Part 1 specification. Preferably lightweight. I don't need WKT support, just the ...
9
votes
8answers
5k views

How can I use SQL Server's spatial types from a .Net application?

For an upcoming project, one of the requirements is to store and use basic geogrpahic data as part of an existing SQL-Server/.Net application. It seems obvious that we could use the SQL Spatial ...
1
vote
2answers
200 views

IFieldChecker problem

I'm having some problems using IfieldChecker. I have this following code, which I'm trying to test permitted/not permitted fields, according to my workspace public IEnumerable<IFieldError> ...
3
votes
2answers
818 views

The mysteries of the ArcGIS Server Identity - can you help?

Just getting back into ArcGIS for .NET again after about 2 years of doing the training course. I have a question about the "Add ArcGIS Identity" that you choose in Visual Studio - it doesn't seem to ...
8
votes
2answers
678 views

What are the implications of using .NET Generics to store ArcObjects?

I'm wondering what are the implications of using Generic types in .NET to store ArcObjects, such as ILayer, IField, etc. The compiler throws me a warning when using these kind of values public class ...