Tag Info

Hot answers tagged

3

The best is to check ESRIs product information sites on its products, they describe its key features pretty well. In short words: ArcGIS Engine is a pure Developer Toolkit to embed ESRIs GIS Technology (Map View controls and so on) in individual Desktop and/or Mobile (Windows 6.5 and 7 mobile) Applications which are not intended as a pure GIS application ...


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 can provide anecdotal evidence that a compressed FGDB is indeed faster than an uncompressed one on our sloooow network. Here are some stats: ArcGIS 10 FGDB accessed by an ArcGIS 10 MXD 142 Feature Classes 24 Tables Compressed FGDB size - 794 MB Uncompressed FGDB size - 1.66 GB The MXD opens faster when connected to the uncompressed GDB. However, ...


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

ESRI have "improved" their forum site and it's now hard to find any of the archived threads but I did find this code fragment in a thread from 2008. I've done very little in Engine so this may be a red herring? ICommand command = new ControlsZoomToSelectedCommandClass(); command.OnCreate(this.axMapControl1.Object); command.OnClick();


1

I have never tried them myself, but it looks like the iScreenDisplay interface has rotation functions: iScreenDisplay Also check out screenDisplay.DisplayTransformation.Rotation() Might be a good starting point.


1

Here is one way to get feature x and y coordinates (in VB though, just some minor syntax changes needed): Private Sub AddXY_Points() Dim fCursor As IFeatureCursor Dim aFeature As IFeature Dim thePoint As IPoint fCursor = fClass.Update(Nothing, False) aFeature = fCursor.NextFeature Do Until aFeature Is ...


1

The first step is to set up your data so that you can retrieve the coordinates. You need two create two separate fields X and Y or Lat/Long whichever makes the most sense for your data and coordinate system. From there you need to right click and select "Calculate Geometry". This should calculate the X and Y coordinates for all of your points in the ...


1

based on the conversation here is the code: IMap mapControl = form.axMapControl2.ActiveView.FocusMap; ICompositeLayer basemapCompositeLayer = (ICompositeLayer) mapControl.Layer[0]; ILayer basemapSubLayer = basemapCompositeLayer.Layer[0]; if (basemapSubLayer.Valid) { if (basemapSubLayer is IFeatureLayer) { IFeatureLayer featureLayer1 = ...


1

In the absence of a more detailed description of your system, I would suggest to use Versioning when there are multiple editors. Study this document which explains every thing you need to know with the same parcel division example. If you use above given method you do not have to import or export the data.



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