Tagged Questions

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

learn more… | top users | synonyms

0
votes
0answers
107 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
294 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 ...
1
vote
1answer
72 views

.net Geoprocessing Tool Grid Control

Does anyone know if grid control used within the batch mode of ArcToolbox available via ArcObjects (see image 1)? I have used the IGPValueTable control (as used in the Union tool, image 2), however, ...
1
vote
0answers
59 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 ...
2
votes
1answer
332 views

Adding FeatureLayer on a thread crashes ArcMap

I asked this question on the ESRI forums but got nothing so I thought I would try it here (hope that is consider ok). I am creating an extension for ArcMap 10.2 using Visual Studio 2012 C# WPF. ...
1
vote
1answer
255 views

Get a spatial reference object by name from a saved string

I am creating an ArcMap 10.2 extension is VS 2012 and C#. I want to give the user the option to select a spatial reference to be applied to a layer - planning to use the Dialog for that. But then, ...
6
votes
2answers
854 views

C# Abstraction for Web Feature Service (WFS) Call

I'm currently working on a WFS client-side implementation in C# for a thick client application (Windows desktop application). The goal is to be able to choose some "layer" combinations to be shown ...
2
votes
1answer
67 views

How to get a collection of georeferencing control points in an ArcMap document?

I have created control points (i.e. links) using ArcMap's Georeferencing toolbar. How can I programmatically retrieve a list of these points? I'm looking for something like an enum of the links you ...
3
votes
1answer
353 views

How do I draw transparent polygons with ArcObjects?

How do I draw transparent polygons in ArcObjects? I mean is it possible to set alpha channel?
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
1answer
558 views

GeoReference tiff image into the Google map?

I want to Geo-reference a tiff image contain a Map for a specific region, I need to add this region(image) and Geo-reference it on the Google map, SO I can see on the map for the region I select the ...
1
vote
2answers
652 views

Could not load file or assembly : ESRI.ArcGIS.ADF.Local.dll

i worked in an application vb.net , arcengine : i copy the project source and i paste it in other Machine , Ooops i can't compile it , Error is : Error 1 Could not load file or assembly 'file :/ / / ...
2
votes
2answers
136 views

Can I deploy .NET server object extension to a linux box hosting ArcGIS Server 10.1?

We have developed a server object extension in Visual Studio 2010, and successfully deployed to the ArcGIS Server hosted on a windows box. However, when we try to deploy it to a linux server, it ...
3
votes
2answers
234 views

Partial Map Pixel Projections

I have the following: A PNG or JPG of a random width and height, in pixels, that represents a partial map of the world (i.e. a rectangle of the United States). The four corners of this image are ...
0
votes
1answer
156 views

geodatabase with multiple projection

I have a geodatabase (ESRI/PostgreSQL) I'm working in an application for digitizing : in my country we have 4 coordinate system(projection), so I'm looking for a way to switch projection or any other ...
3
votes
1answer
84 views

Accessing Data Sources listed in the ArcMap TOC

I recently identified a bug with a fairly mature application I've developed which is hosted through ArcMap. The bug happens when I've loaded a 'project' into ArcMap, which includes assorted feature ...
1
vote
1answer
269 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 ...
1
vote
0answers
138 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?
0
votes
0answers
238 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 ...
6
votes
3answers
3k views

What is the target .NET Framework of ESRI ArcObjects SDK 10.2

I had ArcMap 10 Add-In project built with ArcObjects SDK for .NET 10.1 where I could not reference external COM DLL build on .NET 4.0 due to a .NET forward compatibility issue. (ArcObjects SDK 10.1 ...
2
votes
1answer
531 views

How to read the app.config settings in ESRI ArcObjects ArcMap Add-In

I am developing custom toolbar and buttons for ArcMap 10.1 utilizing VS2010 and ArcObjects SDE 10.1 extensions. I put some application settings in the app.config file and I want to make them available ...
1
vote
1answer
533 views

Implementing WFS within .NET

There are several discussion about implementing (or not implementing) WFS with .net from scratch. However, if I do need to, how do I get started? I know it's a broad question. I apologize for that. ...
5
votes
2answers
1k views

What are pros and cons of Python add-ins vs .NET add-ins to ArcGIS for Desktop?

I found in ESRI .NET help: Python All ArcGIS Desktop applications include an embedded scripting language called Python. Many areas of ArcGIS—particularly geoprocessing—are accessible through ...
3
votes
3answers
184 views

Building Custom Programs with ArcObjects

I found another thread at ArcObjects Resources that asked for general ArcObjects resources but most of the resources in that thread are obviously about building add-ins for ArcMap. I need help ...
0
votes
0answers
1k 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
3answers
272 views

For a SDE FeatureClasses list all Roles that have been Granted any Privileges on it, and which Privileges each Role have on it

I have searched through the ArcObjects 10 SDK API and googled, but havnt been able to find what I am looking for, so thats the reason for me posting this question. Q: How can I for a SDE ...
1
vote
1answer
180 views

SDE FeatureClass Granting and Revoking Privilege with ArcObjects

Q: How can I with ArcObjects GRANT or REVOKE Privileges like SELECT, UPDATE on SDE FeatureClasses to/from Roles? The equivalent in normal Oracle would be something like this: GRANT SELECT ON ...
1
vote
0answers
137 views

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

I created a custom geoprocessing function tool according to this link . . ...
4
votes
3answers
375 views

More zoom in base layer in openlayer.

I have some GIS project to do, in this project I need to place something like 20,000 trees on a map. So I did a web app with .net that includes map that based on OpenLayers with bing base map. My ...
9
votes
7answers
3k views

Is there a Free Opensource Shapefile Writer for .NET?

I am looking for a well documented, OpenSource Library that can create and write to a shapefile from .Net. I need lower lever access:i.e. I should be able to write feature by feature. Does such a ...
4
votes
1answer
1k views

Is it possible to use DotNet to show a QGIS map?

Has anybody ever tried to show and interact with a QGIS map from a DotNet language like C#? What i have in mind is, to write a desktop application with C#, and show an embedded map with the QGIS-API ...
1
vote
0answers
152 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. ...
0
votes
1answer
502 views

How to learn ArcObjects (.NET, C#) for desktop applications but having only Arcmap desktop license?

How can I learn .NET and C# for desktop applications having only a desktop license? I want to upgrade myself in the development side so I'm trying to learn this stuff and I'm searching all the ...
4
votes
3answers
197 views

Arcobjects .Net, suppress geoprocessing messages

I am executing the copy features tool via the geoprocessor inside my .net custom geoprocessing function tool. When the copy features tool executes it is writing it's messages to my tool's results. I ...
4
votes
2answers
222 views

Accessing arcpy functions from IronPython

I made a few python scripts to automatically optimize and publish my data.. Now i'm thinking about writing a .NET program to manage and run these scripts: the obvious way is invoking them in a ...
0
votes
1answer
286 views

How do I initialize the ArcGIS proxy via server side .NET code (C#)?

I know how to do this via JavaScript code: esri.config.defaults.io.proxyUrl = "../proxy.ashx"; But, how do I do this in .NET? I am very new to the GIS space.
2
votes
1answer
76 views

xy tolerance from c#.net

For some graph work, I need the value of X,y tolerance. I found ISpatialReferenceTolerance.XYTolerance Property. But I couldn't find any option that how can I get ISpatialReferenceTolerance interface ...
2
votes
2answers
672 views

How to Zoom and Pan using scroll wheel in ArcObjects?

is there any way to zoom using scroll wheel ? i have tried AutoMouseWheel of map control, it works well for the first used custom tool, but once i change the tool, it stops working , i would like to ...
3
votes
2answers
274 views

How to use shortcuts in dockable windows?

I have developed a custom dockable window with textboxes, comboboxes and buttons for use in ArcMap. After the user clicks on a button in the dockable window a function is invoked. How can I invoke the ...
4
votes
1answer
486 views

How to set focus on ArcMap map window using arcobjects and c#.net

I have developed a custom dockable window with textboxes, comboboxes and a button for use in ArcMap. After the user clicks on the button in the dockable window a function is invoked. After the ...
3
votes
2answers
162 views

Populating fields in a Matrix format

I am trying to develop an accuracy assessment tool using ArcObjects. As an output I would like to show a matrix with the fields such as road ,land,water etc. I just want to know how can I fetch ...
4
votes
1answer
522 views

Can custom map tiles be properly rendered via ArcObjects within my ArcGIS 10.1 Desktop AddIn?

Within ArcObjects for ArcGIS 10.1, we are attempting to render pre-generated map tiles as a basemap (group) layer. The tiles themselves are of the typical web mercator aux. spherical tiling scheme. ...
1
vote
1answer
229 views

How to set min and max value for stretchType: esriRasterStretch_PercentMinimumMaximum

How can I set the min and max values for the stretch type "Percent Clip" in arcobjects? It's possible to set the Stretch type: rasterStretch.StretchType = ...
0
votes
0answers
91 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 ...
2
votes
1answer
146 views

How to Mosaic DTED files (RasterDataset) using C#?

I use ArcGIS .NET SDK in C#. I'm able to load some DTED files in my ArcMap and show them in proper colors. What I want is to concat/merge/mosaic some DTED files. How can I do this? I want to mosaic ...
1
vote
3answers
255 views

ArcCatalog 10.1 tree doesn't refresh after adding new custom IGxObject at runtime

I am using ArcObjects 10.1 (.NET) to customize ArcCatalog: adding new nodes in catalog tree like in the Esri's example. But when I add new child node to already expanded parent, it doesn't show up in ...
4
votes
1answer
265 views

Custom c# GP Tool ArcGIS Server 10.1 - build for 'Any CPU', x86, or 64bit? Does it matter?

I think I understand most explanations of these targets, but I get confused in the context of ArcGIS customizations like this because what we are compiling has to work in conjunction with ArcGIS, not ...
2
votes
2answers
246 views

best practices for exception handling in ArcGIS .NET custom geoprocessing tools

I'm working on a set of C# GP tools for use both in Desktop and Server 10.1. The only soup-to-nuts treatment of writing geoprocessing tools in .NET appears to be Building a custom geoprocessing ...
3
votes
0answers
241 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 ...
4
votes
2answers
955 views

Split a Polyline into small segments

I am writing an addin, which needs to split a polyline into a number of segments taking the number of segments as an input from user. How can I accomplish this?