Tagged Questions
2
votes
0answers
28 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
2answers
44 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
101 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 ...
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....
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 ...
2
votes
1answer
169 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
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
332 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
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.
...
4
votes
3answers
196 views
How to use ITrackCancel to escape IRubberBand track?
I have a BaseTool for AX_MapControl and AX_PageLayoutControl that allows to draw a polyline via IRubberBand. But once the rubberband is started, you can't cancel it e.g. by hitting escape. I found ...
2
votes
1answer
98 views
IGPutilities in IGPFunctions
Quick question, in Esri's area calculation sample of IGPFunction implementation they use IGPUtilities but they don't release the instance.
On the singletons page in SDK help they list GPUtilities as ...
13
votes
1answer
738 views
Calling arcpy/python from .NET?
Are there any available examples that show how python can be integrated into a .NET ArcGIS Addin or Extension? I have a series of python scripts that I would like to call from form events (e.g. button ...
9
votes
1answer
252 views
Any experiences or “gotchas” integrating Whitebox GAT (free and open) with the ArcMap UI?
I wrote a number of ArcGIS VBA automations in grad school; however, they're fully dependent on the ESRI SpatialAnalyst extension, which is not only closed-source but expensive to the point of ...
3
votes
1answer
281 views
Problems reading data from a file geodatabase using an OleDbConnection
I'm able to connect to an ESRI fgdb using an OleDbDataAdapter and read the attribute table just fine - from within visual studio. However, when I put the code inside a windows service it crashes (no ...
3
votes
2answers
264 views
uniquely identify feature classes & compare them for equality
I want to implement EqualityComparer<T> for feature classes so that I can stuff them into a Dictionary or HashSet.
For motivation, say that I am looping over many IFeature objects which belong ...
0
votes
1answer
202 views
IUniqueValueRenderer with three fields
I have found some ArcObjects code to get unique values on one field for a IUniqueValueRenderer but I can't conceptually wrap my head around how to do that with 3 fields. Would this be .Net code or is ...
10
votes
4answers
343 views
Does SHAPE_Length take into account elevation values?
Does the Shape_Length attribute take into account the elevation? For instance, if I have 3 points: A, B, and C
A.X = 10
A.Y = 10
A.Z = 10
B.X = 10
B.Y = 10
B.Z = 50
C.X = 0
C.Y = 0
C.Z = 10
Then I ...
5
votes
1answer
383 views
.NET And ArcGIS 10x - Where have all the wrappers gone?
With prior versions (to ArcGIS 10x) of ArcGIS, the .NET wrappers used to be placed in a dotnet directory. Where are they located with 10x? With prior versions, I used the absence or presence of this ...
1
vote
2answers
396 views
Opening a custom model's geoprocessor window with ArcObjects
I have developed a custom model using ModelBuilder in ArcGIS, and I would like to use a .NET Base Command to open the geoprocessor parameter window for this tool so the user can enter their ...
3
votes
1answer
369 views
Null values in plugin data source
How do you appropriately setup a plugin data source to allow for null values (in .NET - C# preferred)?
I'm currently setting up a field using:
field.Type_2 = esriFieldType.esriFieldTypeSingle;
...
3
votes
1answer
535 views
ArcGIS Visual Studio IDE Integration Framework
i need to integrate arcgis 9.3 with visual studio c# 2008 express edition. i found the integration framework for 9.1 but no chance for 9.3 and i've seen a lot of questions on web about it.
What ...
3
votes
2answers
383 views
Custom Query Task
I'm building a web application in ArcGIS Server for .net and I want to create query task for each layer so that each query depends on the previous result query task, how can I do that... please help ...
3
votes
1answer
153 views
Initiate a pop-up before accessing a .net out-of-the-box web map
I need to create a pop-up that initiates as soon as a user clicks on a web map, or accesses the link from another location. The map is an ArcGIS Server out-of-the-box .net app. It's for a disclaimer ...
7
votes
4answers
484 views
Newbie to GIS Development
Greetings everyone, I am new to GIS development and was wondering if there are tutorials available for development in ArcGIS 10. I have some experience writing simple scripts in python and fooling ...
8
votes
6answers
5k views
Learning .NET for arcgis use (mainly desktop) - how to start?
I know that many of you guys don't like GIS analysts that turn (or act as part time) programmers and think that their codes are sloppy (which I guess that they are many times) but as everybody has to ...
0
votes
1answer
130 views
Inherited EditorServerCommandAction double posts returnMessage
I have a bunch of inherited EditorServerCommandActions in my WebADF solution and when ever I use the ReturnMessage inside EditorServerAction() it generates two javascript popups at the clientside.
Is ...
0
votes
2answers
1k views
How do i popup a context menu with custom command items in a Select tool OnMouseDown (Right Click) with VB .Net?
This should be simple... I am converting VBA customization to VB .NET in VS 2008 Express Edition.
In VBA i have a custom selection tool. Aside from just selecting features, when OnMouseDown receives ...
3
votes
2answers
957 views
How to merge two polylines in code?
We are currently working on a project where we have to merge sections (polylines) to a route, but the big question is how you do this. We have currently tried adding those two as segmentcollections ...
1
vote
2answers
182 views
IFieldChecker problem
I'm having some problems using IfieldChecker.
I have this following code, which I'm trying to test permitted/not permitted fields, according to my workspace
public IEnumerable<IFieldError> ...
3
votes
2answers
697 views
The mysteries of the ArcGIS Server Identity - can you help?
Just getting back into ArcGIS for .NET again after about 2 years of doing the training course.
I have a question about the "Add ArcGIS Identity" that you choose in Visual Studio - it doesn't seem to ...
