Tag Info

Hot answers tagged

6

I'm guessing you may have general performance issues such as labeling, layer scale rendering, transparencies..etc. If you have ArcGIS for Server license you may try using the Analyze button on the Service Editor to test a map document for these performance warnings. Service Editor helps you identify potential performance bottlenecks and errors that ...


5

So far I have not found anything to help me ease the debugging experience of the ESRI COMException, and therefore decided to try and do something about it. I put the solution on gist.github.com for everybody to use. I used the resource ArcObjects error codes and copied all the error messages with codes and enums into a text file, about 1900+ lines. Not all ...


4

This is a licensing issue. A standalone ArcEngine license does not support multi-user editing. According to ESRI's documentation, multi-user editing geodatabase functionality only exists for ArcGIS Server licensing. Since you have tagged this question with ArcGIS Server, I am going to assume that you have an ArcGIS server license. What you need to do is ...


4

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

If you create an ancillary table with the attributes (fkey,xcell,ycell), populated from the objectid and a gridding of the maximum Y coordinate (or centroid coordinate or upper-center envelope coordinate), then you could use SQL to update the table, with something like: UPDATE poly SET num = vtab.rownum FROM ( SELECT row_number() over (order ...


3

Using GDAL >= 1.10.0 compiled with SQLite and SpatiaLite, it's quite simple. Suppose we want to order the labels from left to right. Firstly, we have to calculate the distance of each feature from a common reference on the left of all geometries (e.g. -180th meridian) and then order the geometries by distance. ogr2ogr FRA_adm1_temp.shp FRA_adm1.shp ...


3

It sounds like you need to explode your single part polygon to multipart: e.g. Explode polygon feature private void button1_Click(object sender, EventArgs e) { IWorkspaceFactory pwsf = new FileGDBWorkspaceFactoryClass(); IWorkspace pws = pwsf.OpenFromFile(@"D:\temp\Yogesh\Vector_YV5612\Vector_YV5612.gdb", 0); IFeatureWorkspace pfeatws = pws as ...


2

the solution is : the new Model is like : it Paramters like : the Code : Sub diso() Dim gp As GeoProcessor = New ESRI.ArcGIS.Geoprocessing.GeoProcessor() Dim trac As ITrackCancel = New CancelTracker Dim Result As ESRI.ArcGIS.Geoprocessing.IGeoProcessorResult2 Dim parameters As IVariantArray = New ...


2

According to the doc, you should have all objects open before you start editing. I don't know if this matters, but you appear to have started an edit session with undo, by calling iwe.startEditing(true). I don't know if this is supported without versioning, which personal geodatabases don't have. I would try something like the following untested code: ...


2

The terminology confuses me too but as far as I have understood: ArcObjects is a set components with which you can write a program to control any of the ESRI products (ArcGIS Desktop, ArcGIS Server or ArcEngine). See "What is ArcObjects?". ArcEngine is the kernel of ArcGIS without the user interface. You can't do anything with ArcEngine alone, you use it ...


2

Not having the SDK is a major wrench in the gears here. If you have an MXD already on disk, you could use arcpy.mapping.AddLayer in a Python script on a MapDocument object and use MapDocument.saveACopy to save out. You can run ArcGIS' Python from an Engine install.


2

Have you tried using IMultiuserWorkspaceEdit. IWorkspaceEdit workspaceEdit = (IWorkspaceEdit)DB_Access.get_obj().ws; IMultiuserWorkspaceEdit multiuserWSE = (IMultiuserWorkspaceEdit)workspaceEdit; multiuserWSE.StartMultiuserEditing(esriMultiuserEditSessionMode.esriMESMVersioned); workspaceEdit.StartEditOperation(); IFeatureClass fc = ...


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.


1

I came across the same problem this morning. After navigating through the arcgis documentation, I finally found a way to remove these lines. In c++ : where ipPieChartSym Is the pie chart symbol you created to assing to the renderer. IMarkerBackgroundSupportPtr ipMarkerBackgroundSupport(ipPieChartSym); IMarkerBackgroundPtr ipMarkerBackground; ...


1

Use the IRasterProps interface, it appears to have a MeanCellSize property which returns the cell size. http://resources.arcgis.com/en/help/arcobjects-net/componenthelp/index.html#//001q000006t1000000


1

Cast ActiveView as IMap or IPageLayout and see which sticks.


1

i found this solution and it's works : right click in the dll file and click register select desktop and click register or use : http://support.esri.com/en/knowledgebase/techarticles/detail/37639


1

i think it was a problem in some geometries so i execute this tools : Repair Geometry (Data Management) and now the labels appear nicely link : http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00170000003v000000


1

Since it's unlikely that any two polygons have exactly the same northmost extent, you will need some compromise to order by both north-to-south and east-to-west. Personally, I'd use either bounding boxes (looking at first maxY, then minX) or centroids (looking at first y, then x). I'd decide how much tolerance I'd allow and still consider y values to be ...


1

This is how you could do it in VBA using the IFeatureConstruction interface: The code initially builds a bunch of polylines and stores them in a GeometryBag. They intersect at their ends and create a grid which converts into a set of polygons. Public Sub Test() ' Get a handle on the first layer in map ' This is an empty polygon shapefile Dim pMXdocument As ...


1

If you're developing a standalone application you will require a ArcEngine runtime license on the users machine. This is different to the Desktop license which will work if you're developing plugins for Esri tools. It may be worth looking at the ArcGIS runtime SDK for WPF. This is licensed differently and depending on the features you require, may not ...


1

Last time I checked, ArcGIS desktop license does not provide you a design time license for the ArcGIS Engine TOC control. The TOC control used by ArcMap is not re-usable in a standalone exe. You can use RuntimeManager.InstalledRuntimes to see what is installed on the machine, before initializing a license. Since Engine licenses are less expensive than ...


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, ...



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