A framework, developed by Microsoft, that compiles any of several COM-based programming languages into machine-executable language.
1
vote
0answers
13 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 ...
0
votes
2answers
40 views
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 ...
2
votes
2answers
67 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
92 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
137 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 ...
3
votes
0answers
89 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
46 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
23 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
1answer
46 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 ...
2
votes
0answers
62 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
100 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 ...
1
vote
0answers
78 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
2answers
209 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?
1
vote
1answer
128 views
ArcObjects 10.1 .NET Convert Point from WGS1984 to OSGB1936
Please can someone help me convert a point in WGS1984 to OSGB1936, I have followed all the documentation (or so i think...) and yet have not made any headway into this problem. This is my code :
Type ...
2
votes
1answer
73 views
IGeometryBridge.GetPoints throws NotImplementedException. Am I doing something wrong?
I am working on some .NET code that processes lots of polygon geometries at the vertex level. In order to reduce COM interop overhead, I want to call IGeometryBridge2.GetPoints once instead of calling ...
0
votes
0answers
58 views
coordinate transform from one srid to another in nettopology suite, c#
In a program using c#, .Net, I read a geometry field from a spatialite database into a variable of type GeoAPI.Geometries.IGeometry, in SRID 4326 (WGS 84). I want to transform this, in code, to a ...
3
votes
2answers
83 views
How do I change the targeted .NET 4.0 Framework to version 3.5 in an existing VS 2010 EXPRESS project?
I am upgrading from ArcGIS desktop 10.0 to 10.1 and I have a bunch of addins developed in VS 2008 Express using ArcObjects 10.0. I would like to upgrade everything to 10.1 using VS 2010 Express. I ...
5
votes
1answer
143 views
Can you use ArcObjects in an MVC service at v10.1
I'm slighlty confused with the changes at 10.1 and understand this version no longer supports DCOM or remote arcobjects.
Can you use ArcObjects in a webservice (in my case a .NET MVC 4 service) that ...
6
votes
3answers
167 views
How can you find ArcGIS version programatically?
Is there a way using ArcObjects.net to find out what version of ArcGIS is installed on a machine (i.e. 9.3., 10.0, 10.1)?
2
votes
1answer
52 views
Are there any open source distribution raster merging functions within JTS or GeoTools
I'm looking for something similar to the combine function from the ISelectionSet interface from ArcObject's SDK 10 .NET framework on a more scaled down level. Ergo, I don't plan on using that ...
0
votes
0answers
62 views
Zooming the selected polygon to the center of .NET WebBrowser control
I have an ArcGIS Server JavaScript API application. I am embedding this page in a .NET WebBrowser Control. The size of the webbrowser control is approximately 300X300 pixel. I have code that query and ...
2
votes
1answer
108 views
How to create multiple dockable windows?
I am building an add-in and I have several different windows, which I open with the code below. This works fine. However, how can I create the same window n times?
UID dockWinID = new UIDClass();
...
5
votes
0answers
90 views
How to detect a GDAL/OGR 'Warning'?
When I run a batch script using a GDAL/OGR program, I can detect if an error occured by checking ERRORLEVEL for the value 1.
When using GDAL/OGR in python or .NET, I get an exception when an error ...
1
vote
1answer
55 views
Store global reference to a service/object
In developing with ArcMap, is there any way to register a service that can be used during the life-cycle of a document- for example to do something like:
C# .NET
...
0
votes
0answers
112 views
Problem building raster attribute table in ArcObjects
We are converting some polygon features to raster using ESRI.ArcGIS.GeoAnalyst.IConversionOp. The conversion is based on an integer field and the output raster is being correctly produced with integer ...
2
votes
1answer
76 views
How to make Plugin-DataSource Layers Editable in ArcMap(Arcobjects)
The .Net samples of the developer kit for ArcGis contains an example, that shows how a custom data source(Plugin Data Source) can be added as a layer in ArcMap. It is done by implementing interfaces ...
1
vote
1answer
120 views
What is a good learning source for programmer who wants to understand the infrastrucre of map based web map?
I want to to write a simple web app with a map (tile cache because of hi res raster) that once a user click the map he can do some queries on it (as in search in polygon , radius , nearest ) on the ...
4
votes
1answer
186 views
Using log4net in ArcMap addin solution
I would like to use log4net as the logging framework for my addin. However, now I'm having trouble in enabling logging in debug mode and in the released esriAddin file. It works in either one, not ...
1
vote
2answers
252 views
Looking for .Net alternative to Mapxtreme
I'm pretty new to the GIS area.
I was involved in a project that used MapXtreme server and MapXtreme SDK to query the tabs (as in SearchNearest , SearchInRadius etc...)
I'm looking for an open source ...
4
votes
1answer
43 views
Why would running LocateFeautresAlongRoutes GP tool return null?
I'm currently using the LocateFeaturesAlongRoutes tool wrapper for C#/.NET for a custom tool I'm developing for ArcMap 9.3.1. I've been able to run this tool in ArcMap outside of code in a tool with ...
2
votes
1answer
155 views
Get Type of Arcobjects objects
Trying to check the type of some Elements if they are (ITextElement , MarkerElement), when i try .getType() function it returns always "System._COM_object".
How i could get the type of an object if i ...
0
votes
1answer
81 views
Problem with deploying addin
I have made a Button addin for ArcMap in Visual Studia 2010, but I don't know how to deploy it, I tried debugging it from ArcMap but nothing happens, Any help Please..
Thanks in advance....
4
votes
1answer
148 views
How to handle events with ArcMap automation?
We have a bunch of forms written in C# as ArcMap commands, which are running happily in the normal way from command buttons. The forms interact with the map by creating layers and symbologies, and by ...
3
votes
1answer
65 views
How to do raster conditional comparisons in .NET?
I am comparing a raster with a constant value by raster calculator. Now I want to do this in a c# code.
Question
Is there any process to do this kind of raster conditional comparison in .net?
1
vote
1answer
114 views
How to programmatically create ArcGIS Image Service and add it to map using C# / .NET?
How can I programmatically create ArcGIS Image Service and add that service to my MXD file programmatically?
I am using C# .Net.
0
votes
0answers
16 views
Flash certain features in ArcGIS [duplicate]
Possible Duplicate:
ESRI Flash Command in custom code
Is there any possibility in ArcGIS 10 to use the flash-feature method, that is used by the identify tool, when I click there on a ...
4
votes
3answers
323 views
Do any open-source .Net libraries (commercially usable) exist for reading/writing LiDAR data?
I have a few LiDAR point data (.las files) with me. I would like to read the X,Y and Z from it using .Net. I found liblas, which is in C++ and I am not sure if it can be used commercially after ...
2
votes
1answer
80 views
Use GeoTIFF masks to optimise combine layers algorithm
My app is a C# program that takes in an extent from the user, then loads GeoTIFFs from a folder that overlap the extent. It layers them according to a simple number on each GeoTIFF, then exports the ...
4
votes
1answer
267 views
How do I publish a custom .NET GP Tool as a GP Service on ArcGIS Server 10.1?
I have a GP Tool that I am able to publish as a GP service at 10.0.
I recompiled the DLL for 10.1 and have followed the steps in the Deploying custom .NET and C++ tools page of the 10.1 help doc. ...
1
vote
0answers
76 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 ...
4
votes
0answers
144 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 ...
2
votes
1answer
168 views
Extracting all field names of a featureclass using query filter programmatically
I want to get all field names present in a feature class using queryfilter programmatically.
2
votes
3answers
1k views
Remove lock on feature class
When i try to delete a feature class , after or during the use of an Arcgis engine app which uses the same feature class i got an error concerning the lock , so i can't get ride of this lock until i ...
0
votes
0answers
119 views
Geoprocessing COMException when running custom script
I have searched a lot of forums looking for answers but none have helped so far.
I am trying to run my own script ( a dummy empty one for now) with geoprocessing in Visual studio 2010 using c# and ...
0
votes
0answers
27 views
ESRI ArcGIS Engine with C# .Net Tutorial/Book [duplicate]
Possible Duplicate:
Getting started with Arcobjects
I am working on ArcGIS Engine with C# .NET.
What is the best way to learn the basics.
I want to study different objects basics like
...
3
votes
2answers
330 views
Is it possible to deploy on a ArcGIS 9.3.1 machine a component created with ArcGIS 10?
We are developping a C# ArcObjects Class extension assembly.
Our development machine was recently updgraded to ArcGIS 10, but when we try to install the assembly on a 9.3.1 machine, we get an R0000 ...
1
vote
0answers
208 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
1answer
154 views
How to print semi-transparent elements?
I highlight some features with a semi transparent color via an ILayerExtensionDraw. When I print the ActiveView of the PageLayoutControl with IPrintAndExport the highlightning is not on the printout.
...
1
vote
2answers
249 views
TF.Net versus the NetTopologySuite
In a recent post, a responder made reference to the Topology Framework .Net. I'd never heard of it before, having gently used the NetTopolgySuite (and DotSpatial) before with satisfactory results. ...
13
votes
1answer
643 views
How to get selected Features/Geometry from Windows Clipboard in ArcMap/C#?
I have a custom tool in ArcMap 10. The Workflow is the following:
Select Features in a Layer with the "Select Features by Rectangle" tool
Copy the Features to the Clipboard using STRG+c
Select the ...