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
179 views

ArcMap “Could not open the specified file”

Has anyone ever encountered this message? I am getting this when I try to open certain shapefiles. I am working on a problem that generates shapefiles from spreadsheets using ThinkGeo's .NET tools. ...
1
vote
1answer
76 views

C#/.Net Library that can draw a line across the date line

I want to be have an embedded map in my application that can handle drawing lines across the date line. I have tried out dotspatial and sharpmap and neither have been able to handle this. Edit: Here ...
1
vote
1answer
279 views

How to write GML and GeoJSON features while retaining attributes in .NET?

I am developing a .NET project [C#] that needs to export/write features as GML and GeoJSON, including, of course, the attributes; data could queried by a database or manually entered. I checked ...
9
votes
0answers
376 views

File Geodatabase API .NET Wrapper: How to determine if Table/Feature Class Is Locked?

I have been using the file gdb api .NET wrapper, and it has suited my needs quite nicely (vs using ArcObjects). One of the things I have yet to figure out if there is a proper way to determine if a ...
5
votes
0answers
106 views

Is IGraphicTracker leaking memory?

It seems that when geometries are removed from an IGraphicTracker instance, the geometries remain in memory until IAoInitialize.Shutdown() is called. I have tried removing the geometries by calling ...
4
votes
0answers
52 views

ArcObjects .NET - How to close/release FeatureClass, Workspace, Factory

I have a long-running process. I want to prevent resource leaks or rogue database connections. At intervals during the process I want to do this: get an ArcSDE (Oracle) workspace factory open a ...
4
votes
0answers
244 views

Exporting a Featureclass to Shapefile with field names changed.

I have some annotation feature classes stored in a Pgdb.I want to export them to a shape file.Some field name need too be changed in that shape file.I am using vb .net to do this.Any help is ...
4
votes
0answers
642 views

How to find layer ID and name from Identify query using ArcGIS Web ADF?

I need to retrieve the layer ID of every layer returned by the IQueryFunctionality.Identify function (I am using ADF with .NET) Identify function spits out a DataTable array for layers which have ...
3
votes
0answers
253 views

What is the correct way to handle assembly resolution in .NET ArcGIS add-ins?

This has been a thorn in my side for some time now -- in .NET ArcGIS add-ins, assembly dependencies packaged with the add-in are often not resolved correctly. I am still not sure why and under which ...
3
votes
0answers
63 views

Is there an easy common gis abstraction available in .Net

Is there an easy common gis abstraction available in the .Net programming world that cuts the dependency to a concrete gis implementation, e.g. to the esri silverlight/wpf sdk. ... for example ...
3
votes
0answers
276 views

IUniqueValueRenderer on Polyline and Points made my Features all invisible

I am currently using IUnique value renderer like this: foreach (string nodeType in nodes) yield return new KeyValuePair<string, ISymbol>(nodeType, CreateNewSymbol() ); public static ...
3
votes
0answers
238 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
0answers
560 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 ...
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 ...
2
votes
0answers
415 views

GeoPDF Library for .NET or JavaScript

Anyone know of any open source .NET or Javascript libraries for creating GeoPDFs? I know of QuickPDFLibrary, but i'm preferably looking for something open source. I want to programmatically generate ...
2
votes
0answers
332 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 = ...
1
vote
0answers
13 views

What is the source of a “TabletPC inking error code. RtpEnabled called multiple times” error from within ArcMap?arcm

I am attempting to remotely troubleshoot an issue with an ArcMap AddIn (.NET 4) that I wrote where the users (only a couple of them) are receiving this error: TabletPC inking error code. RtpEnabled ...
1
vote
0answers
17 views

Combine group of maps to add/edit features in .NET

Use Case: I have 100s of square/rectangle shaped maps which I want to edit/add features like Dam, Ponds etc. either one map at a time (or 8 maps on each side & corner, if possible). The task is to ...
1
vote
0answers
73 views

The underlying connection was closed: The connection was closed unexpectedly. AOInitiliaze

I create a WCF Service. When I try to Initialize ArcGIS License with AOInitialize I get error: The underlying connection was closed: The connection was closed unexpectedly. public void ...
1
vote
0answers
63 views

ArcGIS SDK for .Net (used in WPF): update map's zoom parameters after changing base layer

I'm having the following issue: Suppose I have a Map object and 2 base layers (a world map and a street map). A world map doesn't let us view the map too closely. The street map allows us to view as ...
1
vote
0answers
40 views

How to run a 2.0 ESRI DLL in a 4.0 Addin application

We have a complex set of operations running as Add-in's and services that span both ArcMap, ArcServer, and ArcGIS Explorer for Desktop. Currently we are compiling everything under .NET 3.5 but we may ...
1
vote
0answers
263 views

How to resolve an InvalidCastException for two Objects of the same type in an ArcMap AddIn?

I'm trying to work through an InvalidCastException that is being thrown when a form is displayed from an ArcMap Addin. This is a fairly recent occurrence and I haven't identified what has changed that ...
1
vote
0answers
122 views

Using M 'Measure' value in SQL Server 2008

MS Sql Server 2008 geometry type supports adding Z and M values to geometry objects, including linestrings. However, I cannot find any way to make use of these values, since methods such as ...
1
vote
0answers
536 views

How to cut polygon or split polygon using polyline and ArcObjects?

I have ArcMap10.1 and ArcObject.net. i have created tool and on mouse down event i write some code I tried it using topologicalOperator4.Cut2(newPolyline) but i get error "A polygon cut operation ...
1
vote
0answers
60 views

How to force Add-in ComboBox to refresh?

I am having problems with an add-in combobox that doesn't refresh. When the currently selected item is removed from items collection, the name remains visible in the text area. It should show the ...
1
vote
0answers
43 views

Issues using Arc 10.0 extension recompiled for 10.1

I have a written an ArcGIS extension in C# .Net for version 10.0. I have attempted to recompile this extension for 10.1 and that works. But running the extension in 10.1 is causing ArcGIS to crash. ...
1
vote
0answers
141 views

Are there any exisiting .NET implementations for WFS that are extendable?

I've been told its a bad idea to implement WFS from scratch: Implementing WFS within .NET Does anybody know of any exisiting .net implementations that I can extend?
1
vote
0answers
142 views

How do I get around license error when creating custom tool?

I created a custom geoprocessing function tool according to this link . . ...
1
vote
0answers
156 views

Map Identify tool in ArcGIS Server 10.1

I tried this http://tereshenkov.wordpress.com/2010/08/16/map-identify-tool-in-arcgis-server/ but it doesn't work on ArcGIS Server 10.1 (.NET Web ADF) :-( Application doesn’t use file MapIdentify.js. ...
1
vote
0answers
103 views

Need to create custom map based the spatial Database

I need to create a custom map in .net 2008 c# webapplication based the spatial database(sqlserver 2008) without using any third party tools For example in sqlserver 2008 i am create a map using this ...
1
vote
0answers
327 views

Error installing/uninstalling GeoMedia WebMap Professional_6 on Windows 7 (64 bit)

On installing GeoMedia WebMap Professional_06.01.03.08 on Windows 7 Professional 64 bit. Following Error window pop up at the end of installation process or If I uninstall it. I have .Net Framework ...
1
vote
0answers
230 views

Looking for .NET Heat Map API / SDK

I have a requirement to add a 'heat map' style layer to a Javascript/jQuery based application that I am working on. So far, I have used heatmap.js with no problems at all. My only concern with this ...
1
vote
0answers
64 views

Viewing Tables in the AxTOControl using ArcObjects

SE, I was wondering if anyone out there has written a Table filter for the AxTOCControl in the ArcObjets Library. I've rolled my own Table view for now in C#, but would like to try and keep things ...
1
vote
0answers
333 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 ...
0
votes
0answers
5 views

Releasing features from a recycling feature cursor

I have a recycling feature cursor that is used to fetch a single row. Is it my responsibility to release that returned feature, or will it be cleaned up by the cursor as it would be if I consumed the ...
0
votes
0answers
5 views

Filter pointcollection in geocoords set

i'm working with .Net v3.5 and ArcGis 9 and i must say i'm pretty newbie with this. I have an application with different layers, one of them is used to draw the world using WGS84 coords, what i'm ...
0
votes
0answers
45 views

Common custom toolbar for several different arcgis desktop addins using C#

Suppose, I have two arcgis desktop add ins C1Addin and C2Addin developed in c# with the following components: C1Addin: Button_1 C2Addin: Button_2 When the 1st addin which may be any of the two ...
0
votes
0answers
29 views

Releasing FeatureLayer COM object

I am going through some code and trying to implement correct COM object releasing because currently in an error situation we cannot remove some generated files as the databases are kept locked. I ...
0
votes
0answers
83 views

C# geometry hex decoder

When i am storing in the database things like: Point(90 90). I get back 010100000000000000008056400000000000805640 which is a hex encoding of the geometric type. Does anyone know a library for c# ...
0
votes
0answers
209 views

Print OpenLayers map with osm as background and all the vectors

I looking for an answer for a while, and i could not find a working solution. I am trying to exeport the OpenLayers map to some file - image or pdf, and i need all the background, include OSM and all ...
0
votes
0answers
126 views

ArcObjects SDK 10 .net framework create a Network dataset Exception from HRESULT: 0x800422D4

I am trying to work through the "How to Create a Network Dataset" using the ArcObjects SDK 10 for the .NET Framework example. but the line: Dim netDataset As INetworkDataset = ...
0
votes
0answers
115 views

GPS tracking in ArcGIS Engine application

Is there an ArcGIS api for ArcObjects /.Net that I can use to build a function in an ArcGIS Engine 10 application that allows me to track a GPS signal and display the movement plus lets me export and ...
0
votes
0answers
50 views

Change the Name,Tooltip of builtin Commands

When I change the name of a builtin command using the following code, I get the error, "this method cannot run on builtin commands". ICommandItem BuiltinCMD = ...
0
votes
0answers
603 views

D3.js with dynamic geojson data (SQL server/.NET)

I have a $.ajax function which returns the geojson data from the asp.net mvc server method. I want to know how I could send that as a parameter to d3.json() function. Better if anyone shared code ...
0
votes
0answers
126 views

Display DEM in WPF application

In my application which is based on .net4/C#/wpf, I need to display a decent sized terrain file (eg. GeoTiff). It is an elevation file which should be viewed in 3D. The user should be able to draw ...
0
votes
0answers
301 views

D3.js with dynamic geojson data

I have a $.ajax function which returns the geojson data from the asp.net mvc server method. I want to know how I could send that as a parameter to d3.json() function. Better if anyone shared code ...
0
votes
0answers
246 views

How to integrate .NET application in QGIS using Python?

In our company we have developed a .NET application that's now integrated with 3 different GIS platforms. Now we would like to make it work with QGIS but we need some help on getting started. I've ...
0
votes
0answers
2k views

How to solve Microsoft .NET Framework error message.?

The below error message displaying when user leaves the arcmap desktop for more than one hour without any performance on the map, if this error comes then user should close the Arcmap and re-open it ...
0
votes
0answers
93 views

(.NET) Get DTED Data (Elevation) Between Two Points

I want to get DTED data (elevation) between two points (on a line). Is there any built-in function for this purpose or I should implement it on my own? What I want is similar to Linear Line of Sight ...
0
votes
0answers
129 views

Do any geodatabase schema and data migration libraries for .NET exist?

I'm performing code refactoring and database normalization in my project and looking for any .NET library for geodatabase schema and data migrations. Does any solution exist for ArcObjects? During ...