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

What's the difference between ArcGIS .NET SDK and ArcObjects?

Here's the scenario: The goal is to create a standalone console application to process data. This processing is basically ETL operations and, in the end, the results end up in a feature class table. ...
0
votes
1answer
12 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 ...
1
vote
1answer
13 views

ToolStrip Button click event is not fired on first click

I have a dockable window in a custom ArcMap extension. The dockable window has a regular windows forms ToolStrip control in it with ToolStripButtons on the ToolStrip. When the parent dockable window ...
2
votes
1answer
33 views

How to set the extent of a rotated data frame from a rotated rectangle using ArcObjects?

I use ArcObjects to produce a map document. I have a rotated rectangle that I want to be the exact extent of my data frame. So, I want to rotate the data frame with the same orientation than the ...
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 ...
2
votes
2answers
32 views

Map widget in .NET application

I would like to have map widget in .NET application. I need basic functions (zoom, move map) and possibility to display WMS. Thats all. Is there any library that you recommend for that? I am ...
1
vote
1answer
35 views

error 0x80040239 : Using the intersect method of ItopologicalOperator

I would like to intersect a polygon and a polyline to know if the polyline is in the polygon. The code work but when i do it on more than 100 000 times in a for, there is this error : ...
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 ...
0
votes
1answer
20 views

ArcGIS / .Net - Load pyramids in thread

I need to display a large raster with ArcGIS. To do so, I'm using pyramids, and it is working, but they can be long to build. So I would like to build the pyramids in a separate thread. When doing so, ...
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 ...
1
vote
1answer
24 views

Console application in .NET incorporating QGIS tools

I am working on a project where I want to build a standalone application in .NET using QGIS tools. Is there any option like the ArcObjects SDK for .NET? Please help me on this.
2
votes
2answers
65 views

How to fill gaps in a multipart polyline

I want a function that can fill small gaps between parts of a multipart polyline. The polylines represent events on roads and are linear, not branched. The parts may be separated by small or large ...
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 ...
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 ...
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
64 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
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. ...
2
votes
1answer
63 views

Can Python toolboxes be used with ArcObjects GeoProcess.AddToolbox?

Can Python toolboxes be used with ArcObjects GeoProcess.AddToolbox? I'm trying to execute a tool in a Python toolbox (.pyt) from .NET. First I call: GP.AddToolbox(@"C:\path\to\MyToolbox.pyt") ...
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 ...
2
votes
2answers
786 views

Convert Feet to Decimal Degrees

I need to convert a bunch of coordinates that were stored in Feet to Decimal Degrees. I found a Function in VB.Net, though it's results are not coming back correctly. When I input 3106972, 1417936 ...
8
votes
2answers
176 views

Run ArcGIS 10.1 application on 10.2

I support a .NET application that has been compiled on a PC with ArcGIS 10.1 installed. The application comprises a user interface and an ArcGIS desktop extension, plus an installer assembly that is ...
-1
votes
1answer
69 views

Create gdb file from Sql-Server Views using ArcObject in .Net

I am able to Create blank .gdb file using arcObjects in .net. e.g for Create blank gdb file i have wrriten this code. public IWorkspace CreateFileGdbWorkspace() { IWorkspaceFactory ...
3
votes
1answer
114 views

SHP File to .NET Conversion

I have been a .NET programmer for 13 years but I have absolutely no GIS experience and I need a starting point. I have to take some shape files and overlay them on a graphic of a static map. With the ...
1
vote
1answer
78 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 ...
2
votes
1answer
151 views

Accessing File Geodatabase to convert to shapefiles using ArcObjects?

The end result of what I'm trying to do is convert a FGDB into a folder of shapefiles. To do this, I need access to all the data I'd expect to see in a shapefile. Once I get all the information I need ...
0
votes
0answers
84 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# ...
5
votes
0answers
123 views

addins vs python tools, which makes more sense? [closed]

With the upcoming release of ArcGIS Pro and the eventual retirement of Desktop and ArcObjects does it make more sense to start new customizations in python or continue to use ArcObjects/addins for the ...
1
vote
1answer
219 views

ESRI Silverlight API 3.1 query, edit, update issues in the code behind

Using ESRI Silverlight API 3.1, .NET Framework 4.0, ArcGIS Server 10.0 Is there a way to update an attribute in the code behind without looping through the featureLayer.Graphics? Or a way to call ...
4
votes
1answer
55 views

Adding GUID field with ArcObjects

I'm trying to add a GUID field programmatically to an existing FeatureClass using ArcObjects. Here is my code: ISchemaLock schemaLock = (ISchemaLock)ipFC; try { // A try block is necessary, as ...
3
votes
1answer
71 views

What are some GIS outlets for my open source MapBasic utility module and library?

I'm actively developing a MapBasic module that provides additional MBX programming functionality by wrapping .NET 4.0 and Win32 API calls in easy to use MapBasic functions and subs. MB_Utils acts as ...
0
votes
1answer
31 views

How to learn arcobject vba? [duplicate]

I am using arcgis from last 3 years. but it was only limited by button pressing. I want to learn arcobject VBA and .NET. kindly help me out. suggest me some reference book or mail me if anyone have a ...
0
votes
2answers
362 views

How to Create shapefile using Geometry field

I am working on ArcObject. I want to create shape file using arcObject. I am very close to it. but need some better alternative as i feel my solution may fall short in time when there are lakhs of ...
1
vote
0answers
72 views

Can a custom add-in execute code upon install of the .esriaddin [closed]

I have made a custom add-in using C#.NET(a toolbar that contains buttons) and I was wondering if it is possible to have some code execute upon the install of the .esriaddin file. Basically I want to ...
0
votes
1answer
65 views

How to fire .NET code in my ArcGIS application from javascript?

So I'm developing a .NET desktop application for ArcGIS in VB. As a new part of the application I have developed an SVG / Javascript map as a 'loading screen' where you select your dataset to load ...
0
votes
0answers
210 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
1answer
302 views

Error Loading spatialite extension in .NET Project using System.Data.SQLite

I am trying to use Spatialite in a .NET application using the System.Data.SQLite provider. I have tried to load 'libspatialite-4.dll' but an error happens when I call function ...
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 = ...
1
vote
1answer
72 views

Remove a custom contents view from ArcMap TOC in VB .NET?

I am using the ESRI sample, TOCLayerFilterVB2010, which implements a custom TOC view for map layers, as a prototype. For my purposes, I need to be able to turn it on/off, meaning add and remove that ...
0
votes
1answer
191 views

Issue with initializing ArcObjects Interface and classes

I was going through ArcObjects example on following linkWalkthrough_Building_custom_UI_elements .I followed same steps but I was getting error while initializing objects for following code. ...
1
vote
1answer
67 views

IFeatureDataset.CreateFeatureClass Error

I'm working on a webservice in ArcObjects 9.3. It works fine when deployed on IIS, but when I try to debug some unit tests I keep getting the same error: The remote procedure call failed. ...
0
votes
1answer
111 views

Can't build x64 SQLite with spatiaLite

I need a spatial-enabled SQLite solution for a x64 Windows application I am developing. I have examined and downloaded and attempted to compile the SQLite amalgamation package; I've looked at the ...
0
votes
1answer
61 views

How to troubleshoot and fix TypeLoadExceptions in ArcMap AddIn when executing a compiled c# script?

I am attempting to compile a c# script (class) on the fly and run it from an Arcmap AddIn (the script contains no ArcObjects). My unit test, in Visual Studio 2013, works just correctly and I am able ...
1
vote
2answers
72 views

How to get ESRI Addin to read the System.ServiceModel configuration?

I have a complex set of add-in's that we need to run in ArcMap, ArcServer, and ArcGIS Explorer for Desktop. We are experimenting with changing from the old Web Reference service connection to a WCF ...
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 ...
2
votes
1answer
152 views

Error updating Shape.area and Shape.length

am building a webservice with ArcObjects in C# .Net to insert a new feature or update an existing feature to a SDE-table. I am using the IFeatureCursor and an IFeatureBuffer to insert the features. ...
1
vote
0answers
264 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 ...
0
votes
2answers
223 views

How to get ArcObjects SDK for .NET? [duplicate]

Forgive my newbness, but how do I get the .NET ArcGIS SDK? I can't access any of the ArcGIS templates when I create a new project in Visual Studio. I'm using Visual Studio 2010, SP1 and ArcGIS 10.1. ...
0
votes
1answer
123 views

Get the vertices on a LineString either side of a point (Sql Server 2008)

I have a point that sits on top of a LineString, both Sql Geometry types. POINT('0.5 0.5') LINESTRING('0 0 NULL 1, 1 1 NULL 1') I want to find the vertices of the LineString that lie either side ...
1
vote
0answers
124 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 ...
3
votes
2answers
179 views

Fastest Way to Intersect Envelope with Multiple Feature Classes ArcObjects

I have the situation where I am doing a large number of intersections and I need to do them fast. The situation is I have a iMap with 1 or more layers and a series of envelopes, lots of envelopes. I ...