Tag Info

Hot answers tagged

3

It seem you have written an ArcEngine application. So, you must install ArcEngine Runtime on any machine you need to run your application. ArcEngine Runtime is the minimum. You can either install ArcEngine SDK or even ArcGIS Desktop to run you application. The Arc Application (Engine or Desktop), must match the version of sdk that you have built your ...


3

(I don't have enough rep to comment so I'm answering instead.) @Michalis Avraam This isn't enirely true, a FGDB has 3 types of locks. SR - schema lock RD - read lock ED - edit lock The proposed solution by StacyR will work in all situations except for exclusive edit locks (ED) according to arcgis help documentation. ...


1

I have solved this issue now and for those interested, the code is posted below... I help you all find this helpful: public final class ExportLayerToShapefileAction extends SelectionAction { public ExportLayerToShapefileAction() { super("gsExportToShapefile"); } @Override protected void doActionPerformed(ActionEvent e) { IFeatureSelection ...


1

Take a look at the code below. Full code in git repository can be here: https://bitbucket.org/bugramovic/fme_arcobjects_interop_example PrintStream out = System.out; FMEWorkspaceFactory fmeWorkspaceFactory = new FMEWorkspaceFactory(); IPlugInWorkspaceHelper plugInWorkspaceHelper = fmeWorkspaceFactory.openWorkspace( pathToFdlFiles ); ...


1

In this case the field NumEvents was not available until the DisplayRelationship was set up. gridLayer = new FeatureLayerClass(); gridLayer.FeatureClass = layersFeatureWorkspace.OpenFeatureClass(layerName); gridLayer.Name = "Density Grid"; gridLayer.Cached = true; gridLayer.Selectable = true; gridLayer.ShowTips = true; [...] // Create relationship between ...


1

I don't have a "50 reputation" to comment yet so I have to comment like this: What is the licensed product of ArcGIS that you are running? ArcGIS Basic (formerly ArcView) cannot edit an SDE workspace so if that is what you are using that could be your problem. If you are using ArcEngine, verify the licensed product that you are initializing your ...


1

Cast them to ints, add them and recast back to esriSnappingType, like: snappingEnvironment.SnappingType = (esriSnappingType) ((int)esriSnappingType.esriSnappingTypePoint + (int)esriSnappingType.esriSnappingTypeEndpoint + (int)esriSnappingType.esriSnappingTypeVertex + (int)esriSnappingType.esriSnappingTypeEdge);


1

I found the solution thaks to : ArcObjects: Memory leak in IFeatureClass.Search (only on SDE with direct connect) Code correction : ITopologicalOperator4 topoOperateur = ((IClone)secteurPsr.Shape).Clone() as ITopologicalOperator4; IGeometry geomPsr = ((IClone)currentPsr.Value.Shape).Clone(); IPolyline polylinePsr = geomPsr ...


1

Because you have classes that only belong to desktop (IGxDialog, ...), Installation of Desktop is a must do. furthurmore you need an ArcGIS Desktop (engine will not be enough) license to initialize your application. You can do some hacking to pack Desktop dlls with your application, but that is a violation of ESRI terms. Esri indicates that if there are ...



Only top voted, non community-wiki answers of a minimum length are eligible