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

learn more… | top users | synonyms

3
votes
1answer
38 views

How to use ArcGIS FeatureToLine with Managed Assembly

I am writing an ArcMap Add-In to combine multiple shapefiles and then run some custom python scripts on the resulting shapefile. However I cannot seem to get the Geoprocessor working to run the ...
1
vote
0answers
30 views

GDAL compilation to .NET (C#) use

I want compile GDAL library for use in C# program. I use Microsoft Visual Studio 2013. First, I compiled GDAL C++. As a result I have DLLs and libraries (No problems) . Next, I tried to compile with ...
1
vote
0answers
29 views

How to create tiles from c# code

I need to create tiles directly from c# code. The input file is in *.tif format. Is there a way to do this simply? I tried GDAL, but I found it complicated, I don't understand how to cut tiff into ...
1
vote
0answers
111 views

Transformation from local projection to WGS84

I'd like to reproject point that is in local coordinate system to the WGS84, using gdal. But exception "No PROJ.4 translation for source SRS, coordinate transformation initialization has failed" ...
0
votes
2answers
52 views

Converting SpatialLite.Core.API.IGeometry to GeoAPI.Geometries.IGeometry

I have an in-house .NET library which processes geometry data in GeoAPI form (https://github.com/NetTopologySuite/GeoAPI). Within this library I have a method which I need to call which is expecting a ...
1
vote
1answer
31 views

Get the fill stipple of a predefined PictureFillSymbol in ArcMap

In ArcMap in symbol-dialog you can choose a predefined symbol for your polygon-features, i.e. agricultural area. This is a 1 bit picture with foreground- and background color. I grab this symbol as ...
1
vote
1answer
36 views

Create a mapping between polyline and raster in ArcObjects

In my case I have two sources of data: a vector shapefile with a polyline (expressing the path) and a raster with some integer metadata values available for each cell. What I would like to do is to ...
1
vote
1answer
217 views

Is there a way to use wms like a tiled map service in sharpmap?

In sharpmap , is it possible to load a default wms like a tiled map service? I was able to use a WMS but currently it loads the map as a single image. I desire a behavior like OpenLayers 3. Edit: ...
0
votes
1answer
75 views

Closing out a 'add polygon' operation in the interactive MapWinGIS ShapeEditor

I am creating a small app that uses a MapWinGIS control and allows a polygon layer to be edited. Users can add/delete/edit polygons. All is working fine, but the operation to finish a new polygon (...
1
vote
0answers
47 views

How to open shapefile dataset using ArcGIS Pro SDK .NET?

I write AddIn for ArcGIS Pro using ArcGIS Pro sdk. I have a shapefile on my disk(for example "D:\Data\shapefile.shp"). How can I open this featureclass? For gdb geodatabase is very simple using (...
0
votes
1answer
38 views

Intersect tool of ArcGis gives multiple intersecting points

I am using .net in arcGis 10.0 to develop tools.I have two polyline feature classes. I want to get intersected point of this 2 feature classes. for this purpose, I have used INTERSECT tool of arcmap. ...
0
votes
1answer
38 views

TopoToRaster Tool Execute problem in ArcGIS

I am trying to execute TopoToRaster tool (ArcToolbox>3D Aanalyst Tool>Raster Interpolation>Topo To Raster) in arcGis 10.0 with .NET. Topo to Raster Input But get exceptions. My code is here : ...
0
votes
0answers
39 views

ArcGIS Runtime Toolkit FeatureDataForm with Subtypes

I have a problem with attributes editing using widget (FeatureDataForm ) from Esri.ArcGISRuntime.Toolkit package (https://github.com/Esri/arcgis-toolkit-dotnet). As my data model uses classic domain ...
1
vote
1answer
67 views

Is MapGuide still maintained?

I want to use a free or at least a cheap alternative to ArcGIS Server that I can develop for in .NET. MapGuide used to be such. Is it still maintained?
3
votes
1answer
150 views

Decoding this GIS blob

I am new to the decoding world (and even to the world of gis), but I am definitely not new to programming and large data. I was tasked with uncovering a column in our db with this information. It's ...
3
votes
1answer
89 views

Getting point from known points to specific distance of polyline using ArcObjects?

I want to know the coordinates of a polyline from specific point and distance. I have attached image to clear the specification. say, I have a points B(2,3). I want to know the coordinates of A and C ...
0
votes
0answers
45 views

A bounding rectangle for two lat longs points in .NET

I'm trying to figure out how to build a bounding rectangle around two lat long points using a .NET library. I've tried playing with NTS but I haven't found anything that does what i want it to. I ...
3
votes
0answers
156 views

How to create a Polygon around a Linestring as a GeoFence in C# .NET

I'm looking for a .net library that will help to create a polygon that I can use as a Geo-fence around a route on a map. The following image demonstrates the result I'm after. Imagine that this ...
3
votes
1answer
64 views

Do I need to explicitly release extension licenses?

I'm writing an application using ArcObjects. I initial the license with code similar to this: var extensionCodes = new[] { esriLicenseExtensionCode.esriLicenseExtensionCodeNetwork, ...
0
votes
0answers
96 views

Extend line to specific distance or a line

I want to extend my polyline to a given distance. How can I do this. I have attached image to clear my specification. I am using .net in ArcMap . I am also using python in the image, I want to ...
2
votes
0answers
25 views

TOC layer symbol changed EVENTS in ArcMap

I want to do something when user changes one of TOC layer's symbol. I am using .NET in arcMap 10.0 . How can it possible with arcobjects ? Please , help. Specially I want to know, Is there any events ...
0
votes
0answers
23 views

ApplySymbologyFromLayer does not work in my python code

I have a layer file. I make a button in ArcGIS 10 with .NET. I want to change layer symbology with the layer file. For this purpose, I write python code and execute it from C#. If the following code ...
1
vote
0answers
62 views

Call dot net library function from python in QGis

I have created one custom library (.dll) in Dot net. Now, i want to use that dll in my QGis plugin. How i can integrate that? For an example i have one function in library which is used to read excel ...
2
votes
1answer
142 views

How to find a point with highest elevation in area using ArcObjects

Is there a way to find a point with highest elevation in specified area by using ArcObjects? Let's say that I have a raster with DEM and I would like to establish some areas of interest in this raster....
0
votes
0answers
17 views

How to Install ArcObjects? [duplicate]

I'm looking to install ArcObjects so I can write an ArcMap add-in in .Net. Where can I find a download for ArcObjects?
1
vote
2answers
235 views

C# / .NET library for converting GeoJson to KML

I'm pulling in data from ArcGIS using ArcGIS.PCL which provides the geometries as GeoJson. I'd like to convert this GeoJson to KML. Does anyone know of any .NET libraries that provides this ...
0
votes
1answer
147 views

JSON String From VB.NET to Javascript over 100,000 characters

I have a string of properly formatted JSON from a VB.NET function that I am trying to pass to JavaScript where I can convert it into an OpenLayers vector layer. The string can be variable length, ...
0
votes
0answers
24 views

.Net sdk for ArcGIS v10.2.2 [duplicate]

Which ArcGIS .Net desktop SDK version need to be used for developing addin in VS2010 and ArcGIS 10.2.2 environment? I have tried using 10.2.4-10.2.6. But can not see the ArcGIS project templates in ...
0
votes
3answers
129 views

Pass GeoJSON from .NET to Javascript

My .NET/OpenLayers/GeoServer/PostGres-PostGIS application allows users to create custom queries to get data from my PostGIS tables. The queries are called in .NET (not javascript) using a web method ...
1
vote
0answers
129 views

Web Tier Authentication in ArcGIS for Server?

Can anyone explain me the steps, how to view map service from LDAP ,Web Tier Authenticated ArcGIS Server 10.2.1 in .net Application. I have installed web adapter in Web server with windows ...
0
votes
0answers
51 views

Ground Overlay and ArcGIS Scene (.NET)

I have following situation: WPF control which contains ArcGIS Scene is embedded in WinForm application. I need to show georeferenced video frames on ArcGIS Scene. WPF control with ArcGis Scene gets ...
0
votes
0answers
12 views

Converting RGB values from CSV to ArcMap Save As Layer File? [duplicate]

I would like to Convert RGB values from a CSV to a ArcMAP save as a layer file. I have a csv file with 4 columns. First column shows Depth in feet and second, third, Fourth column shows that RGB ...
1
vote
1answer
88 views

Applying a new colour scheme on GdalRasterLayer using SharpMap

I'm currently developing a surface water modelling system in C# (.NET) and am using the SharpMap control as my mapping component. It's all going well, but there's one thing I'm struggling with. I ...
0
votes
1answer
47 views

ArcSDE to Shapefile Async in .NET

I have a question about exporting an (versioned) featureclass stored in a ArcSDE geodatabase to a shapefile with VB.Net. I've created the code which I think should work fine, but ArcObjects "says no",...
1
vote
0answers
67 views

How do I read the attribute data associated with my SHP?

I'm using DotSpatial to aid in processing some geospatial data. I'm using the code below to determine if a point (lat/lon location) is within a polygon contained in the SHP. If the point is in a ...
2
votes
0answers
39 views

Is there a way to change the selection in the Editor Attributes window, while maintaining current selection?

I was wondering if anyone knew of a way to alter the selection within the Editor Attributes window while maintaining the current selection set. In the image below, I've manually selected an item in ...
1
vote
1answer
133 views

How to change owner of a version in an enterprise geodatabase using ArcObjects?

I have ArcObjects/.NET code used to create few versions for workspace. Versions are created successfuly but their owner is who created them (the user connected to the workspace). I want to change the ...
1
vote
1answer
117 views

Openlayer load kml 64 string data URI

I am trying to load a kml fileto google map using openlayer 2. below is the code: var wms = new OpenLayers.Layer.WMS( "OpenLayers WMS", "http://vmap0.tiles.osgeo.org/wms/...
3
votes
1answer
130 views

How to remove a domain from a field using ArcObjects

I need to delete a domain in my database. Since the domain is still associated with a field, I first need to delete the association. After reading the documentation for IWorkspaceDomains.DeleteDomain, ...
0
votes
0answers
43 views

Properties of Spatial Reference

I have a layer in ArcMap. I want to get all spatial reference properties of that layer. How the properties can be accessed through ArcObjects? I am using .Net technologies.
2
votes
1answer
200 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
171 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
23 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
51 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 ...
2
votes
0answers
98 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 ...
0
votes
1answer
149 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 ...
6
votes
1answer
201 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
267 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
217 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
1answer
104 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?