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

learn more… | top users | synonyms

2
votes
1answer
37 views

Standalone program can see license

I used standart license initialization code in C# standalone program. It was working perfectly on 10.1 and 10.2. But after migrating to 10.3 it says Licenses are not available. Meanwhile ArcMap and ...
1
vote
1answer
40 views

I am using “Hindi and Gujrati” font then I am getting “Black Squre Dots”?

At the time of generating PDF file when I am using “Hindi and Gujrati” font then I am getting “Black Squre Dots”. Below I am using code. Here I am trying to convert in UTF-8 but it’s not converting. ...
0
votes
0answers
13 views

ArcGIS for WPF: Displaying only the selected object IDs

I apologize if my question is too vague but I cannot find any resources for what I want to do. I just started testing out the ArcGIS APIs and I'm using the "AddShapeFile" example where I can add a ...
0
votes
0answers
16 views

Upload Map to ArcGIS Online and convert to KML

Looking to upload any number of map types from a web application and then have ArcGIS online convert them to KML and then send them back the application. If the map can't be converted, give the user ...
1
vote
0answers
30 views

ArcGIS .Net GP tools debug

I'm developing a GP Tool with .Net ArcObjects SDK. I would like to debug my GP tool but I haven't figured how. I have tried to enable background processing in Geoprocessing Options and attach process ...
0
votes
1answer
20 views

ArcGIS Runtime SDK for .NET (Windows Phone) - ArcGISLocalTiledLayer Issue

I'm developing Windows Phone 8.1 client for our company ArcGIS maps. Online layers works fine, but I need to deliver offline maps (Map Tile Package - .tpk file) to users with bad connectivity. My ...
3
votes
0answers
49 views

Setting Field in ArcMap Symbology Properties using ArcObjects?

I am programmatically rendering a feature layer in ArcMap but I can't set the Field property in the Symbology properties form. This results in the layer having the correct render/breaks/legend ...
2
votes
1answer
46 views

convert ordnance survey easting and northing data to WGS84 latitude longitude values

The C# code published here is not very accurate as also mentioned by tanoshimi. I think this has to do with the lack of 'approximate Helmurt transformation'. Just curious is anyone aware of some ...
7
votes
1answer
122 views

Adding new map to current project using ArcGIS Pro .NET SDK?

The new ArcGIS Pro SDK for .NET is currently in beta for ArcGIS Pro 1.1, and I'm having trouble with map/project objects. I can add layers to an existing map, but I can't seem to figure out how to ...
0
votes
0answers
9 views

Image in ToolPalette using ArcObjects

I want to set image in ToolPalette of config.esriaddinx. How it can be possible? My code is here : <Tool id="ESRI_SelectionSample_SelectByLineTool" class="SelectByLineTool" caption="Junction" ...
0
votes
1answer
35 views

Creating Button Menu in ArcMap AddIn using ArcObjects?

What is the code to use in config.esriaddinx in order to make a Button-Menu (like that illustrated below) when using ArcObjects?
1
vote
1answer
34 views

Show Image in Menu on ArcMap

I want to show an image in a menu in an ArcMap AddIn toolbar. Here is my code in the config.esriaddinx: <Menus> <Menu id="GridViewMenu" caption="Grid View" ...
1
vote
0answers
23 views

Converting Map Files to KML Overlay

Had a quick look around and didn't quite see what I've been looking for. I've got a .Net Web Application that is going to accept different map files and I want to convert everything over to KML so ...
1
vote
1answer
34 views

View Image instead of label in Menu on arcmap addin toolbar

I want to set image on menu in arcamap addin toolbar. is there any way to set image ? I have tried but this is not working.. My code is here in config.esriaddinx: --Menus> Menu ...
1
vote
1answer
35 views

.net arcobjects retrieve user value from layer data source

I have a need to get the user value from a layer properties. The value is from: Layer Properties -> Source -> user in Data Source (sorry not enough score to attach the picture). I tried to check ...
1
vote
0answers
36 views

Substract 2 rasters with Raster Calculator in ArcObjects (VB.NET)

I'm having a hard time substracting 2 raster with ArcObjects sdk 10.1. I keep getting a nullreference exception at the gp.execute() method, but I can't figure out where the problem is, I recall ...
0
votes
0answers
28 views

How to get metadata about Esri Geodatabase Replica synchronization

I'm using ArcObjects for .NET to create an one-way replica from my geodata-service (master) to an ArcSDE geodatabase (slave). During synchronization I do need metadata about the incoming changes to ...
0
votes
0answers
34 views

draw coloured LINESTRING over map [.NET (C#) if possible]

I need to render linestring on the map (possibly OSM map) where each pixel (or at least segment) has assigned custom color. In my linestring, each point defining the line has also color definition. ...
0
votes
0answers
58 views

Create Envelope based on center point

I see in the Java SDK : https://developers.arcgis.com/java/api-reference/com/esri/core/geometry/Envelope.html they have : Envelope(Point center, double width, double height) Creates an envelope by ...
1
vote
2answers
109 views

Since upgrading to ArcGIS 10, my application doesn't rescale the map when the window is resized

I am upgrading a .NET application from ArcGIS 9.3 to ArcGIS 10.3. I've noticed that the map control behaves differently: the map no longer automatically rescales itself when the window is resized. To ...
3
votes
1answer
60 views

How do I call ogr2ogr from a C# application?

I have an ogr2ogr (GDAL) command that I run to export points from a database to an XML file. ogr2ogr-f GPX c:\temp\points.gpx PG:"host=localhost port=5432 dbname=SpatialPlayground schemas=public ...
0
votes
0answers
39 views

How to get changed spatial reference of any layer in ArcMap using ArcObjects?

I have several layers in arcmap. I can access these layer's spatial references too. But if user changed one of spatial reference properties(eg. name, central_meridian etc.)of any layer, then how can I ...
1
vote
1answer
42 views

How to know spatial references of two layers are same?

I have two layers . Now I want to say that the spatial references of these layers are same or not .. I am using .Net technologies in arcmap. I have successfully got spatial reference information ...
0
votes
1answer
81 views

How to add graphics to map at lowest level?

I am able to create graphics and add them to the map, but they are getting added as the top-most layer. The labels (if active) of another layer get hidden due to this. I want to know how to add ...
1
vote
2answers
124 views

How to identify, spatial references of two layers are same?

I have two layers. Polygon layer Polyline layer Now I want to check if spatial references of these two layers are same. How can I achieve this ?? In spatial reference there are many property ...
2
votes
0answers
57 views

Understanding lifecycle of .NET geoprocessing tools on ArcGIS for Server?

I've done a number of .NET geoprocessing tools for ArcGIS 10.1 that get published as geoprocessing services on ArcGIS Server. Lately we've seen behavior that makes me question something I thought I ...
0
votes
0answers
38 views

inherted .net extension not connecting to arcSDE in ArcMap10.2.2

I have a custom .net extension tool that is supposed to connect to a file geodatabase or SDE (SQL Server). The SDE connection fails to recognize it as valid. The file geodatabase connection works just ...
1
vote
1answer
73 views

How to change data source of table using arcobjects

Cross post from: https://geonet.esri.com/thread/125010 Does anyone know how to change the data source of a table using arcobjects? I know it can be done with arcpy, but I'm using C#. I've managed to ...
1
vote
2answers
109 views

Using GDAL to get vertices of a multipolygon

I am successfully using GDAL to get the vertices of a polygon from a ShapeFile using .NET code. This link showed me how to do that: ...
2
votes
2answers
110 views

ArcObjects: ExportOperationClass causing error and not exporting

I'm trying to export each row in a shapefile, but I get an error I haven't seen before (see below). I feel like it might be the labyrinth of interfaces that I have to cast between that may be causing ...
0
votes
2answers
99 views

ArcMap keeps crashing whilst using simple C# .NET addin

I honestly have no clue what is causing this. I want to have a message appear that tells me which layers are selected or not. Here is my code: using System; using System.Collections.Generic; using ...
0
votes
1answer
151 views

.net arcobjects draw polygon(rectangle) can not start at the preferred location

I am using the sample code (draw a polygon on the screen) provided by Esri but it seems I cannot start the drawing from a location I want, every time it starts at wherever the function(or tool) ...
2
votes
0answers
150 views

Create own map and use it in offline WPF Application

I need to create my parcel's map, I got high resolution photo from the sky and i want to georeference it and add few features like routes and buildings. Then I need to use it in WPF applicion where I ...
1
vote
1answer
45 views

Empty output with ArcGIS CopyFeatures

I am automating a process in .Net and calling the ArcGIS CopyFeatures geoprocessing tool multiple times. The source feature class is always in a file geodatabase and the result is always a new ...
0
votes
2answers
280 views

Convert labels to Annotation addin crashes ArcMap

I am trying to write an ArcMap (10.3) Add-In in C# .NET that will convert labels to annotation. I have used a majority of the code from the relevant snippet on the ESRI resources website. When I run ...
1
vote
2answers
697 views

What is ArcGIS Pro .NET SDK?

What is ArcGIS Pro .NET SDK ? Can I code with ArcObjects?
1
vote
1answer
101 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. ...
1
vote
2answers
88 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
192 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
124 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
90 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 ...
3
votes
2answers
102 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
161 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
19 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
65 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
7 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 ...
2
votes
1answer
56 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
100 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
262 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 ...
1
vote
0answers
78 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 ...