Add annotation feature class to mxd with arcpy
From what I have researched, I’m pretty sure the answer is NO, but I want to make sure no one has found a work-around. Annotation feature classes in personal geodatabases need to be added to mxds. The...
View ArticleHow to enable/check ArcGIS Runtime option using ArcObjects?
I want to enable ArcMap/Customize/ArcMap Options/sharing/ enable ArcGis runtime. How do I do that programatically? I can actually call ArcMap options wizard using ICommandItem and UID but I basically...
View ArticleAssign points to another point layer's value
ArcMap 10.2 with extensions ArcScan and Spatial Analyst. I have two point layers (A and B). A has about 40 points and each point has a value (max. number of people it can hold). B has about 1000 points...
View ArticleProper font size for each paper size for reader to be able to read names?
I am working on a project that I need to figure it out how or what font size for each paper size. There are 10 of them and two of them are in the same paper size. There is data frame I have set aside...
View ArticleScript fails when executed from toolbox but not in command window...
I am able to run the below code in the Python command window in ArcMap 10.2.1 without issue. However, when I run this as a toolbox script, it fails at line 15: newLyr = arcpy.mapping.ListLayers(mxd,...
View ArticlePrompt ArcMap Add-in to save settings before closing ArcMap
I’m working on an ArcMap 10.2 add-in which runs as a C# WPF application. I’ve linked the add-in window as a child owned by the ArcMap window so it will close when ArcMap is closed (among other...
View ArticleHow to find if ArcMap raised error during edit session?
I have a class extended IExtension and inside this class I catch OnCreate, OnDelete and OnChanged and OnStopEditing events of Editor object of ArcMap. However I need to know if ArcMap has raised any...
View ArticleCreate an equidistant grid in ArcGIS?
I am newbie at GIS, however, I need to create this grid with equidistant boxes similar to graph paper such that these can show approximate distance around different types of places. How do I do it? I...
View ArticleChange sde connection parameters with ArcPy
I know you can create a database connection with Arcpy using the CreateDatabaseConnection_management function. I am wondering if anyone knows a way in which to change the parameters of that file. For...
View ArticleBatch enabling MapTips
In the layer properties of each layer there is an option “Show MapTips using the display expression” that is by default disabled and I would like to find out if there is a way to enable this option by...
View ArticleUnable to Drag to rearrange layer drawing order in Table of Contents of ArcMap?
I’m new to working in ArcMap, but I seem to have a very small issue. I’m using ArcMap 10.2.2 on Windows 7 Ultimate and for some reason, I can’t rearrange the layers I’m working with in the table of...
View ArticleRaster statistics
In ArcMap, I have a raster layer representing site locations. I derived elevations values for the sites from a DEM. Now want stats on distribution of elevation values at those sites. How can I do this?
View ArticleArcGIS query – how can I find the average value (water consumption) from set...
I am fairly new to arcgis, so this is probably a really simple task, but I would like to ask advice so I can learn how to do it. Basically, I have a polygon layer that has attributes for each house...
View ArticleArcmap Refresh Button
I am working with ArcMap and C#. In the bottom left hand corner, there is a menu where you can toggle between Data view and Layout View, a Pause button, and a refresh button. I have created an Add-in...
View ArticleCreating Shapefile from Excel Data
I have an Excel file with three columns, IncidentID, Latitude, and Longitude. Each row in the file corresponds to an incident and the location of the incident in units of decimal degrees. I also have a...
View ArticleIs the error message “The Microsoft Jet database engine can not find the...
I’m using ArcMap 10.2.1. When I try to compute a union of two shapefiles, I get this message: “The Microsoft Jet database engine can not find the input table or query. Make sure it exists and its name...
View ArticleBreaking connecting between features (Editor tool)
I snapped a series of lines to a point (The ? symbol on the picture). Now, I am trying to unsnap them so I can connect them to their respective line I just created. My question is simple. How do I...
View ArticleIdentify feature which is set for editing
While creating custom tool for ArcMap I found problem which couldn’t be solved even with try-catch block. When start editing I must to choose which layer I want to edit (if they are from different...
View ArticleIs it possible to label a postgis Query Layer in ArcMap?
I’ve created a PostGIS query layer and I can’t label it. I’m trying to work out if I’m dealing with a bug that I can’t workaround, a bug that I can workaround, or if it is operator error. After getting...
View ArticleUnable to edit legend in ArcGIS layout view
Somehow I can’t open the legend properties after converting it to graphic in layout view – from what I’ve read in the ArcGIS guide and online, I should be able to edit everything on the legend through...
View Article