0
votes
1answer
34 views

How to list all of feature class in SDE?

I am getting a problem: my SDE contains some feature classes, but after using the statement: var namesEnum = workspace.DatasetNames[esriDatasetType.esriDTFeatureClass]; var tempName = ...
0
votes
1answer
81 views

Adding an existing Feature class to an existing Feature Dataset in c#(arcobjects)

I want to add an existing feature class to an existing feature dataset. Both the feature class and the dataset have the same coordinate system, I searched over the net but only assistance I found was ...
2
votes
4answers
200 views

How to take 2 points from One featureClass, create a line between those points, and add the line to a new featureClass (aka Shape File)?

I'm a total noob/beginner in ArcObjects. I'm coding in C#. I want to extract 2 points from a given featureClass, create a straight line between those 2 points, create a new feature class and add ...
1
vote
0answers
37 views

Issue on IFeatureDataConverter.ConvertFeatureClass

Does anyone know if it's possible to reuse this method with a "feature dataset" already present ? I'm trying to import multiple shapefiles under a featuredataset inside a fgeodb. Everything it's ...
1
vote
1answer
46 views

How do I use a generic List with my Arc Objects code?

/// <summary> /// Gets a list of all geoms in a Feature Class /// </summary> /// <param name="FClass">The Feature Class</param> /// <returns>a List of ...
1
vote
1answer
202 views

How do I convert a GPFeatureRecordSetLayer Feature Set to a Feature Class?

I have C# code to run a geoprocessing package that produces an output which is stored in a GPFeatureRecordSetLayer. Right now I have code that displays the result on the GUI when the job is complete . ...
0
votes
1answer
128 views

How to add an existing feature class to a new feature dataset

I have a feature class. IFeatureClass AOIfc = AOIfws.OpenFeatureClass("BrigadeAOI"); I need to be able to put this feature class into a feature dataset that is newly created. The following line of ...
2
votes
1answer
120 views

Is there any way to reset feature cursor?

When we search within a feature class, it returns a feature cursor. To get features from a feature cursor, I use following code snippet: private List<IFeature> GetFeatureList(IFeatureCursor ...
1
vote
2answers
108 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
0answers
93 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: ...
4
votes
1answer
391 views

Is there a faster way to get unique values for a given FeatureClass in ArcObject?

I'm trying to count rows by unique values for a given FeatureClass. I'm using DataStatistics to get the unique values for a specific column for a given FeatureClass. This seems to be (very) slow with ...
6
votes
3answers
235 views

What is the best practice for editing feature class?

I am working with some feature classes. I create those feature classes using my add-in. User can add/ delete features from these feature classes clicking on "add", "delete" buttons and selecting ...