ArcObjects is a set of COM-based APIs from ESRI Inc. that are used in several of their products, ArcGIS Desktop, ArcGIS Engine and ArcGIS Server.
0
votes
0answers
12 views
Can I access the request URL in a Server Object Extension (SOE)
I would like to obtain the full URL of a REST request inside of an ArcGIS Server SOE.
I would like to return the full URL to an output file. But, the service may be exposed on different servers or ...
1
vote
1answer
17 views
VB.Net Field Population Methods
Disclaimer: I am basically brand new to VB.NET and ArcObjects.
I am computing some statistics as a component of a larger arcobject script. I write these components to an ITable. This ITable is ...
2
votes
1answer
25 views
Creating maps programmatically using ArcObjects. Adding legends, scale bars, north arrows?
I'm looking for some examples related to the publishing of maps programmatically to image format using ArcObjects. More specifically I would like to add standard map elements such as a scale bar, ...
0
votes
0answers
21 views
How to specify field name in raster to feature conversion tool or intersect tool?
What I want to do :
input: raster file, polygon feature layer
process:
Convert raster to polygon using IConversionOp.RasterDataToPolygonFeatureData Method
Intersect resultant polygon feature class ...
-1
votes
0answers
21 views
Help running Snippets in ArcObjects
I just started learn ArcObject with C#.
It is good for but when I try to do some thing more I am getting more problem like if I want execute snippet code in Engine, Map I do not know how to run and ...
1
vote
1answer
29 views
How to get polyline out of multipart feature using ArcObjects C#
I've got a polyline feature class and I've identified the first feature that is a multipart feature. I now want to find out which of the paths of this multipart feature intersects with a point.
Up ...
2
votes
0answers
37 views
Differentiate between 10-based Locator and Other Locators
In ESRI documentation, it states that the IAdvancedIntersectionGeocoding interface is only available for use in older locators (9.3.1 and below). I have verified this statement. One major problem is ...
2
votes
1answer
46 views
Stand-alone Server Object Extension (SOE)
I would like to setup a REST service through ArcGIS Server.
In this case I do not need a map service, but it seems like you can only deploy an SOE as an extension to another service. It seems ...
-1
votes
0answers
38 views
Need help with VBA code for filling a table
Bonjour a tous;
je travail VBA dans arcgis 9.3
j'ai crée un formulaire avec une liste déroulante et une liste texte et autre controls:
quand je sélectionne un type de station dans la liste ...
0
votes
1answer
42 views
Featureclass search failing in C++. But working in C#
I need to perform search on a FeatureClass using ISpatialFilter for a given Point (x,y).
I wrote a program in C# to do that and its retrieving the features as expected. But the similar program in C++ ...
1
vote
0answers
40 views
Overlapping Polygons in same feature class using Arcobjects
I have a polygon feature classs with millions of records, I need to find list of overlapping or intersecting polygons in the same feature class, and how to do it efficiently?
I need a ESRI ...
1
vote
1answer
31 views
How to write a file in an Server Object Extension (SOE)
I would like to create a file with an ArcGIS Server Object Extension and return the url. Is this possible? Where would I write the file?
I'm working with .Net, IIS, and AGS 10.1.
2
votes
3answers
58 views
Get IWorkSpace from IGxObject
I am creating a tool that opens an IGxDialog which it's objects are filtered to show only workspaces, my question is how can I convert IGxObject to IWorkSpace or get the selected workspace without ...
0
votes
0answers
38 views
Snapping with mutiple custom tool using diffrent snapping types
I have a custom tool with snapping type is (snapping to point + snapping to edge), and the second tool having snapping type is snapping to point only, so when i select the first tool it works well, ...
1
vote
1answer
42 views
HRESULT - IPersistStream.Save()
I have converted a VB6 project to C#, and there is one problem I cannot find documentation on. I am saving an IPropertySet to file by using IMemoryBlobStream and IPersistStream, as seen here:
public ...
0
votes
0answers
20 views
identify tool in arcobject
Please see the attached layer. I have used following code in the OnMouseDown event. my objective is to select the X_coor , and Y_coor field from the layer based on the arg.X and arg.y.
However when ...
3
votes
1answer
44 views
Customizing Identify Dialog in ArcMap
Any idea for customizing Identify Dialog in ArcMap.I want to use my control (for example a list view or a custom control) to show attributes of features in same native ArcMap Identify Dialog,mean ...
0
votes
1answer
24 views
ArcObjects IDataset.Copy causes program to crash
My implementation of IDataset.Copy continues to crash and I cannot figure out why. The program attempts to copy a shapefile from a temporary folder in one directory to a final folder in another ...
3
votes
1answer
25 views
Does IDistanceOP.EucDistanceFull require a projected coordinate system?
I have designed an implementation of ArcObjects' IDistanceOP.EucDistanceFull. It takes its input as a feature class and converts it to a GeoDataset with which EucDistanceFull can work with. It works ...
0
votes
2answers
41 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
3answers
76 views
ARCObject query
I'm using ArcGIS 10.1 and developing an application using visual studio 2010 and ARCObject SDK 10.1.
I would like to use identity tool in my application and if not possible I want to execute a query ...
2
votes
1answer
37 views
ArcObjects 10/10.1 Get rid of Invalid layer symbol in TOC
I've written an add-in (VS2010, C#) that finds specific invalid feature layers in ArcMap and fixes them. After the layer is fixed, the red invalid symbol still appears in the TOC. An ...
1
vote
0answers
41 views
How to get hold of the Activated Event for the ArcMap window?
I am using ArcObjects 9.3 .NET. In my ArcMap dockable window, I have a single element host hosting a WPF user control (That's the only means of using WPF for ArcMap extensions as far as I know).
...
1
vote
1answer
32 views
How to extend a custom NASolver in ArcGIS Server 10.1?
The past year we developed a custom NASolver with C# , it works fine and that job has finished.
Now we are planning to use it from ArcGIS Server. The problem is that we have no information for that. ...
2
votes
1answer
37 views
How to convert existing lines to polygons with Arcobjects, preferably in C#?
Does anyone know how to convert existing line geometry to polygons with arcobjects as it works with the geoprocessing tool "feature to polygon"?
2
votes
1answer
30 views
Trouble storing an IMap with ArcObjects 10 and IPersistStream
I'm storing a reference to an IMap in a custom object (which is stored by a custom extension) so that it can listen to map events. When I save the custom object using IPersistStream and then reload ...
1
vote
0answers
30 views
InsertFeature on a versioned layer [vba]
I am writing an application that takes data from an Excel Spreadsheet and loads it into an ArcSDE feature class. The Feature class is editable within ArcMap, but I am having trouble inserting a ...
2
votes
1answer
36 views
How to display point features w.r.t field values of a polygon file in arcobjects?
I have a point & polygon shapefile. Point file has a field namely, Type: atm,hospital,school etc... Polygon file has a field Zone: Zn1, Zn2, Zn3. There will be two combo boxes which will populate ...
2
votes
2answers
68 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 ...
0
votes
1answer
33 views
How to set Symbology On Create Feature Window using arcobjects?
programmatically I set the custom symbology for the layers. When i started the edit session programmatically, the create feature window did not show the respective symbology assigned to feature. pl ...
2
votes
1answer
58 views
Arcgis 10.0 desktop: how to clear All transformations from map
I have a custom extension which adds some custom transformations to the map. When turned off, the extension is supposed to remove all the added transformations.
However, when calling ...
1
vote
2answers
53 views
cast from IFeatureClass to ISchemaLock
I'm programming with the ARCGIS Java SDK, in Eclipse.
I need to cast an IFeatureClass to an ISchemalock. This cast is supposed to be allowed. There is an example of this cast in:
...
1
vote
1answer
49 views
What is the preferable value for setting tolerance for selecting a feature
I know it's really a basic question. But I am really confused about this. For selecting a point feature by mouse click, we need to set a tolerance value to create the envelope. And here is the problem ...
1
vote
0answers
28 views
add an INDEX to an IFeatureClass with ARCGIS Java sdk
I want to add an index to a feature class. To do so, I used the very short and complete example given there:
...
0
votes
0answers
25 views
add data to toccontrol
When i open MXD file, it isn't add to TOCControl, but it is dispalyed. How solve it or it is imposible?
Code from standart ArcEngine MapControll APP
private void menuOpenDoc_Click(object sender, ...
3
votes
1answer
49 views
Set unique values to different groups programmatically
I have a polyline feature layer. After doing some computation, I update a field of that layer and want to set unique color for different value of that field. We can do this from symbology using unique ...
1
vote
1answer
66 views
How to create dynamic sub-menu in ArcMap?
I created a static menu contains 3 static items like in this link create menus,
I want to add a sub-menu and get the menu's items from database like in this image:
I already did the left part with ...
2
votes
0answers
53 views
Geodesic distance between two polygons in ArcGIS
Does the IGeometryServer2 interface work in desktop applications? My solution is an Add-in for ArcGIS 10. I'm currently passing it two valid polygon features that are in a projected coordinate system. ...
1
vote
1answer
77 views
Problem in splitting and removing Polyline
I am stuck at a problem for weeks, Please Help!!!
I am making program in C#
Here is what I need to do --- I have two polylines that are intersecting with each other at some points. I want to delete ...
2
votes
0answers
48 views
Write table blob field to file
I have a table with blob field and some others as well. I am trying to read blob field and save it to file using IBlobStream, and the thing compiles. The problem comes up in run-time, when calling ...
2
votes
1answer
83 views
ComException -2147467259 Arcgis 10 VB.net +Geoprocessing
I have a problem when i execute GeoProcessing in ArcEngine 10 with VB.net
i had create the toolbox : Models.tbx
and Model Process : disolveRoute with 2 parameters
My Function is :
Sub ...
7
votes
2answers
108 views
Arcobjects, mystery green lines in the Layout View produced during script execution
Could any of Arcobjects guru tell me, what are these green lines on my Page Layout and what to do, or not to do, so they do not appear? See image attached.
I do used Arcobjects from Python. My script ...
3
votes
1answer
117 views
Pivot a polyline at vertex or distance using ArcObjects C#
I hope you can help me with that one. I'm using ArcObjects with C# trying to rotate only one part of a polyline at a vertex or distance along the polyline. The polyline is zAware and has values at ...
1
vote
0answers
36 views
ArcGIS Add-In Project to Standard Library Project
I have been developing an ArcGIS 10 Add-In tool, but requirements changed halfway through development. Fortunately, this isn't changing any of the code, but I just need to be able to compile the ...
3
votes
1answer
69 views
it is possible to undo and redo outside an edit session in Arcobjects?
I would like to know if it is possible to undo and redo changes outside of edit session, i'm working on an ArcSDE versioned 10.1 database?
if yes how i could do it in Arcobjects .NET .
Any help ...
4
votes
1answer
93 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
138 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
92 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
47 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 = ...
4
votes
5answers
98 views
Intersection of two lines tool
Is there any way to make intersection of two lines tool with extending lines option, so the result would be a point. the hardest part is when the lines have to be extended to intersect.
the tool will ...