0
votes
1answer
23 views

Comparing ShapeFile Data in C# [closed]

I have made a List containing all the original data (.shp files), and I have another List containing the modified data. I basically want to check all the modified file data against the original... So ...
0
votes
2answers
45 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 ...
1
vote
1answer
79 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 ...
1
vote
1answer
27 views

Extent is zooming map to 0,0

When I use this code (from the example): ESRI.ArcGIS.Client.Geometry.Envelope myEnvelope = new ESRI.ArcGIS.Client.Geometry.Envelope(); myEnvelope.XMin = -130; myEnvelope.YMin ...
1
vote
1answer
85 views

How to convert a shapefile polygon to raster in C#

Does anybody know a way to convert a polygon (vector) in a shapefile to raster data WITHOUT using ArcGIS Explorer Desktop? Is there a way to do this 'progmatically' in C# (WPF with ArcGIS runtime ...
2
votes
1answer
53 views

How to obtain map service url from within Server Object Extension (.NET)

I'm having trouble figuring out how to obtain the full url to the map service a Server Object Extension is running on top of. I bascially want: IMapServer4 mapServer = ...
2
votes
1answer
123 views

How to split zAware polyline by points programmatically with C#?

I'm trying to split a polyline by the boundaries of a polygon using IPolyCurve2.SplitAtPoints using C#. The polyline I'm trying to split is zAware and holds elevation values at a regular interval. ...
2
votes
1answer
86 views

Can't cast from IFeatureClass to IFeatureClassLoad [duplicate]

I'm attempting to load a large number of features (up to 310k) into a feature class. It is functional at the moment, but speed is a major issue. It takes about .42 seconds per 1000 features. I've ...
4
votes
2answers
160 views

Which Geodatabase supports SQL and is easily portable?

I want to choose the geodatabase type, which could be: permits direct sql queries. easily portable, because the app would installed in one computer. I know that the personal geodatabase is a good ...
5
votes
1answer
200 views

Select By Location in ArcGIS using C#

I am creating a tool which the user will select point or line features from the map and it will display their names in a list then after clicking on any of these features from the list, it will show ...
4
votes
1answer
141 views

Arcgis: Programmatically export to geotiff in different scales

I am totally new to ArcGis so please bear with me using the wrong terminology. I would like to programatically export geotiff files in different scales (e.g. 1:25000, 1:50000 etc) using arcgis10. ...
2
votes
1answer
78 views

Using a map from ESRI Server in a radMap

I was wondering if there was a way to use a map that I have stored on an ESRI server in a telerik radMap. I am not very familiar with the radMap control so any help would be appreciated. I have found ...
0
votes
1answer
161 views

How do I make points with label info in ArcGIS Silverlight?

I'm a new user of the Arcgis for Silverlight SDK. Using c#, I would like to add points with labels showing the id for point. How can I do this? Thanks in advance
0
votes
1answer
119 views

Spatial index grid size is invalid

I am trying to move a point feature programatically, but on stop operation, I am getting this error : spatial index grid size is invalid Kindly help. Regards, Sheethal
1
vote
3answers
217 views

Merge separate features into single feature in a shapefile programmatically

I have a shapefile in which some features shares same values for all the attributes. I can merge them manually by going into edit session and, selecting features to be merged, and then using merge ...
2
votes
1answer
47 views

Should I use thread lock when implementing Enabled void in ArcGis Command?

I've noticed that that ArcGis Commands are activated asynchronously. So I supposed that there is a chance to corrupt memory without using thread locks when overriding Enabled void of custom ArcGis ...
0
votes
0answers
48 views

IF Statement for checking if the user clicked on a graphic in a Feature Layer

I am trying to display information in an InfoWindow when the user clicks on a point on a map. I have the content in the InfoWindow and it is popping up. The only problem is the InfoWindow pops up no ...
0
votes
2answers
156 views

Using an InfoWindow with a Feature Layer and a DialogWindowBase

I need to have an infoWindow that displays the Outfields of a FeatureLayer. The infoWindow is popping up, but it is popping up no matter where you click on the map and it does not contain any of the ...
3
votes
1answer
182 views

Displaying information on a map using an InfoWindow

I am wanting to display information in an InfoWindow when the user clicks on a point on the map. I have implemented the InfoWindow in XAML, but I do not understand the code behind it. Any information ...
3
votes
2answers
190 views

How to add point to a polyline?

I have a polyline, and i want to add point (vertex) on a specific distance, like two meters for example. How can i do that?
3
votes
1answer
204 views

Feature Layer is not showing the points on the map

I have a simple feature layer. The points will show up if I put the URL in a DynamicMapServiceLayer, but I need to use maptips, so that will not work. Below is my relevant XAML. If you need anymore ...
2
votes
0answers
267 views

Using labels/attributes from arcMap to display information

I am wanting to take the labels/attributes that are used in arcMap and display them in an InfoWindow when the user clicks on the map point. I really have no idea where to start on this so any help ...
2
votes
1answer
51 views

How to output the ActiveView to a Jpeg image

I have an ArcGIS Desktop extension and I need to extract images from the map. How can I programmatically output the active view to a jpeg image?
0
votes
0answers
53 views

How to set icon size programmatically?

How to set icon size and text size of plotted item programmatically? I am using c# with ArcGIS Engine.
2
votes
1answer
88 views

Get Annotations selection Arcobjects

i have annotations stored in mxd document, when i select some annotation , i tried to get the selection through graphics selection, so i got always the rectangle of the dataframe (because i'm working ...
2
votes
0answers
64 views

Map Package is not showing points on map

I am fairly new to GIS, but I am working on an interactive legend and I need to just be able to add a map package to the xaml and it place the points on the map. The legend seems to be working. All of ...
2
votes
1answer
104 views

Error in Symbol Selector Sample

This question can seems to be n00b, but really im stuck at running this Arcengine Sample code, then i got this error i'm looking for any working example of Symbol Selector. i'm working on XP SP3, ...
1
vote
1answer
60 views

How to serialize IStyleGallery Object? [duplicate]

Possible Duplicate: Can I store an ArcObject inside a BLOB or XML field? I am saving shape file in database and now i want the symbology selected for the feature layer also get stored in ...
0
votes
2answers
258 views

Unselect Individual Selected Features using ArcObjects

I've been stumbling around with this issue for a bit now and I can't seem to find any relevant answer for it anywhere else. In my Add-In built using .NET ArcObjects/C# with Arc 10.0 I would like to ...
1
vote
1answer
189 views

Convert a FeatureLayer to graphics in Arcobjects

I want to convert a Map or FeatureLayer to graphics on Arcobjects 10.1, Any help or code examples Problem Solved this is the working code: private void Convert_to_graphics( IMapDocument doc) ...
1
vote
1answer
115 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.
1
vote
1answer
202 views

Implementing Custom Selection Tool (Adding to current selection) with ArcObjects

I am trying to implement a custom selection tool in ArcMap 9.3.1 that is functionally similar to the default ArcMap selection tool with "Adding to current selection" enabled. ie. the user can click to ...
0
votes
2answers
149 views

How to add command developed with C# to ArcToolbox

I have a command that develop with c# . I want to add this command to the arctoolbox . is there any way to add command to arctoolbox in arcgis programmatically ?
0
votes
0answers
244 views

Unable to add SDE featureclass to map using arcobjects

I am currently in the process of converting our VBA apps to .net (C#) using Visual Studio 2010 and ArcGIS 10.1. On my current project, I want to add a layer to the map from SDE. I have the ...
0
votes
1answer
117 views

error running c# code

I'm new in programming . i'd like to write a simple code that can create offset from a polyline . i wrote the below code but when run the code i encounter to the error " Null reference exception was ...
1
vote
0answers
27 views

Did not find registered control

I am using ESRI Arc GIS with C#. I dragged 2 control licence and axMapControl. When I run the program following error occurs. Did not find a registered ActiveX Control in C:\Program Files (x86)\Arc ...
1
vote
1answer
259 views

Custom C# tool populate field combobox parameter from layer parameter

I'm creating a custom tool for arcmap toolbox where user select FeatureLayer in one combobox, and in next combobox user can select a field from selected FeatureLayer. FeatureLayer combobox fills ...
0
votes
0answers
86 views

Arcgis Dynamicmap problem in C#

Hi I have developed a dynamic map application but I cannot delete map image in folder. Cannot delete when there is dynamic map image vice-versa I can delete image. its reason for use dynamic map ...
5
votes
2answers
422 views

Detect Table of Contents Changes in ArcMap using ArcObjects

What is the preferred and/or most efficient method for detecting a change in the table of contents in ArcMap using ArcObjects? My current implementation relies on a dictionary with the names and ...
0
votes
0answers
70 views

Can i assign a list or array to IRowBuffer Row without Row.set_Value()?

Is it possible to assign a list or array to IRowBuffer Row? I have something like the following: I have a fields (list) with values and i have to fill a Row with that values. public void ...
2
votes
2answers
245 views

How to change Map Scale programmaticaly in C# WinForm Project

I have created form with axMapControl and comboBox with values of possible scales (e.g. 1:1 000 000, 1: 500 000, etc). How can I change current map scale programmaticaly by using value from ...
0
votes
0answers
115 views

How to delete an image from axMapControl component?

I have a problem in arcgis c#. I am using Arcgis axMapControl component and adding image to it but I can not delete image when wanted to delete from axMapControl component... I have get a exception ...
0
votes
1answer
113 views

Which is Map format provide the best performance in Arcgis visual C# application

I am developing small Arcgis visual C# applications. I can display maps on the interface. Which is map format(.jpg , .tif , .png / Arcgis supported other map formats ) provide the best performance?
3
votes
2answers
647 views

Find intersection points of two polyline features

I'm currently working with street intersections trying to find point(or points) where 2 given streets intersect(!disjoin). Streets are all Polyline features, and I have to work with 2 features at ...
3
votes
2answers
460 views

Flash more than one feature in arcmap using C#

How to flash many features at same time in ArcMap using C# coding? Currently I call this function in a loop, private void FlashFeature(IActiveView _activeView, IFeature _feature) { IActiveView ...
1
vote
0answers
153 views

C# ArcObjects RubberBand Tracking Cancel

I've written a function to create a polygon based on geometry collected from the IRubberBand interface as follows: ITrackCancel esc = new CancelTrackerClass(); esc.CancelOnKeyPress = true; ...
0
votes
0answers
28 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 ...
2
votes
2answers
990 views

Geoprocessor Select By Location Using Features Instead of Layers

I have a simple spatial feature selection function that includes: public static void SelectByLocation(IFeatureClass sourceFC, ILayer selectLayer) { Geoprocessor GP = new ...
4
votes
1answer
473 views

I need help with saving Graphics to the a map

I have everything working just like I need it to, but when I add a new graphic to the map it does not save it. So I will add it, close the application, and when I reopen it the graphic is gone. I have ...
1
vote
1answer
156 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 2 3