ArcMap is the main application of ArcGIS for Desktop and the tag for that (arcgis-desktop) should normally be used in preference

learn more… | top users | synonyms

7
votes
2answers
944 views

Handling user password input in ArcPy scripts?

I'm currently trying to write a script that has a username & password input which then returns some data if the user has appropriate access. The script works just fine when I hardcode my own ...
7
votes
3answers
5k views

Why does query table return more records than expected?

I need to join one feature class and one table. This is a one to multiple join, therefore, my only option seems to be by creating a query table. My problem is that the fields I want to join do not ...
7
votes
2answers
2k views

Where is feature cache in ArcMap for ArcObjects to access?

It seems that ArcMap keeps a cache for every layer which contains features data and every time wants to refresh layer or apply a change, uses this cache. As I found, when ArcMap wants to draw a layer ...
7
votes
1answer
119 views

In ArcMap, use python to disable “Scale map elements proportionally to changes in page size”

I am changing sources on MXDs in differents offices using ArcPy and ArcGIS 10.0. As observed here, the printer settings revert to the default printer when the instruction mxd.save() is sent. Losing ...
7
votes
3answers
2k views

How can you find ArcGIS version programatically?

Is there a way using ArcObjects.net to find out what version of ArcGIS is installed on a machine (i.e. 9.3., 10.0, 10.1)?
7
votes
2answers
584 views

Can I have the “store relative pathnames to data sources” box checked as the default?

Is there a way to have the "store relative pathnames to data sources" box checked as the default rather than always having to go into the document properties and check the box? ArcMap 10.0.
7
votes
3answers
4k views

Change the symbol scale in ArcMap legends

As you can see from the image below, my enormous scale for traffic pattern shadows the other objects in the legend. Are there ways to reduce the size of object portrayed in the scale?
7
votes
3answers
13k views

Where is the Angle Measure Tool in ArcMap 10?

I can't seem to find it.
7
votes
2answers
1k views

Changing Button's Enable-State on ArcMap10-Start

How can the enable-state of a AddIn-Button be influenced on start of ArcMap? My button should be disabled on startup of ArcMap and than turned enabled when the Edit-session is started. In ArcGIS 9.3 ...
7
votes
5answers
656 views

Web-based map authoring with ArcGIS Server?

I am embarking on a project in which users will author, save, and share their own maps over the web. We will provide them with a large number of feature classes, but users will effectively author ...
7
votes
3answers
479 views

Method to generate points in any projection

I am writing an application in ArcMap to generate a grid of points. These points have a very defined layout and I have worked out an algorithm that works great under a projected coordinate system. ...
7
votes
2answers
2k views

How can I increase ArcMap font size, I can barely read it!

I'm sure there is a simple answer out there, but how do I increase the font size in the ArcMap work windows? I am using Windows 8 on a Surface tablet. Thank you for saving my eyeballs!
7
votes
2answers
315 views

How to Determine if Layer is a Point

I have been working on a Python toolbox which contains 6 parameters. I am a little lost on all of the different data types available in ArcMap (it seems like there's hundreds of them!). However, one ...
7
votes
2answers
367 views

How to display nebulous boundaries between regions with indistinct edges?

I'm trying to map the boundaries between regions which don't necessarily have a hard edge. For example, areas where languages predominate don't have a distinct edge, but instead have a degree of ...
7
votes
1answer
4k views

How to change/add keyboard shortcuts in Arcmap?

How can I change or add keyboard shortcuts in Arcmap? I have tried Customize --> Customize mode --> Commands --> Keyboard. However, this does not seem to actually work. I can add shortcuts and link ...
7
votes
1answer
8k views

Adding automated values to attribute field?

I have parcel and buildings layers. In their attribute tables I want to replace "NULL" values with numbers from 1 to 2000, in "Parcel ID", or "Building ID" field. How can I do this in ArcGIS ...
7
votes
1answer
1k views

ArcMap 10: How do I escape certain characters when labeling?

I am labeling certain Oil & Gas areas by Operator in ArcMap 10, using this expression: "" & [OPERATOR] & "" & vbNewline & "" & [UNIT_NAME] & "" The only problem is ...
7
votes
2answers
2k views

How to create a vertical scale bar in ArcMap?

Wondering if anyone out there knows how to create a vertical scale bar in ArcMap? With text I can adjust the angle. Is this possible with a scale bar as well?
7
votes
1answer
5k views

ArcMap 10 - Extract raster cells from imagery based on RGB value

I've got some aerial photography (format: IMAGINE Image) which is detailed enough to see to fire hydrants and a shapefile of fire hydrants which was digitized based on some CAD data. My project is to ...
7
votes
1answer
996 views

Use Python to find the pathname of “Current” Arcmap

I am trying to find the path name of the current ArcMap document that the python script is currently running in. For Example: "F:\2012\1111\MyArcMap.mxd" I tired using sys.argv[0] as shown ...
7
votes
3answers
712 views

How do I display a raster “Background Value” as hollow for more than one set of RGB values?

I have two overlapping .ecw layers of the same area, though one is clipped in the middle, with a white edge. When I set the background value to 255,255,255, and define it as hollow, it only hollows ...
7
votes
1answer
1k views

Editing tables using SQL in ArcMap [duplicate]

We've recently started working with ArcMap, having used MapInfo previously. I've created a shapefile in ArcCatalog and want to update some columns using SQL. In MapInfo I'd write the following command ...
7
votes
1answer
136 views

Merging Issues doubling up

I have two shapefiles with some of the parcels (surveying) overlapping each other. How do you get those overlapping parcels from doubling up? Is there a way you can have it dissolved or union etc... ...
7
votes
4answers
177 views

How do you programmatically read the coordinate display format in ArcMap?

I'm looking for a property (or properties) that will give me the display units and the formatting. I assume I need IMap.DistanceUnits but I can't find the formatting. Is this exposed? I am also ...
7
votes
1answer
3k views

ArcGIS 10 add-in: Bring dockable window to front

I have an ArcGIS 10 ArcMap add-in written in C# .NET 3.5 that implements an ESRI.ArcGIS.Desktop.AddIns.DockableWindow (which also inherits from UserControl) and an ESRI.ArcGIS.Desktop.AddIns.Tool that ...
7
votes
1answer
2k views

How do I get the current Undo and Redo item in ArcMap Operation Stack?

I just posted this on ESRI forum and found this link so I am trying it here too: Research ArcGIS Resource Center document - How to work with the operation stack: ...
7
votes
2answers
1k views

ESRI ArcMap Add-in Config.esriaddinx

I'm in the process of converting an older ArcMap extension to an Add-In in C# and I am trying to best take advantage of the XML based configuration. Config.esriaddinx works great for the basic set up ...
7
votes
2answers
4k views

Select and copy features in ArcMap using Python add-in tool

I'm trying to add a tool to an add-in toobar to select features from an existing feature class and copy them across to another feature class. I need two tools, one for a point and one for a rectangle. ...
7
votes
2answers
193 views

How does the geoprocessing results window store the tasks?

Yesterday I was working in a single mxd all day, performing dozens of calculations and other analysis using multiple tools. A lot of it was trial and error, so when I found the correct combination I ...
7
votes
2answers
10k views

Select by Attributes based on SQL wildcard range

I want to select all the records from a geodatabase table where the string starts with a letter, so I tried SELECT * FROM tbl_names WHERE "name" LIKE '[A-Z]%' This returned no records. After some ...
7
votes
1answer
2k views

Creating ArcGIS add-ins for both 10.0 and 10.1

Has anyone tried to deploy the ArcMap add-in for both ArcGIS 10.0 and ArcGIS 10.1? There is a target version parameter in the add-in config XML file that needs to be specified. After upgrading the ...
7
votes
1answer
2k views

Coordinate grid display on a rotated map

I have a series of maps that require me to rotate my data frame within my layout screen (north "rarely" points up in these maps). I ONLY want to show east coordinates on the top/bottom and ONLY north ...
7
votes
1answer
862 views

How can I change the class of one pixel in a classified image?

I have a classified image (I did it in ERDAS) with six categories. There are some misclassified pixels (especially high-density urban category). Is there any way that I can choose one pixel and then ...
7
votes
1answer
314 views

Feature/label visibility based on spatial relationship to index feature using data-driven pages

I'm creating a series of maps using ArcGIS data driven pages. I know how to display features that share an attribute with the index layer, but is it possible to display features (and similarly, ...
7
votes
5answers
857 views

How to programatically identify the “Joined Field” in ArcMap?

Is it possible to programmatically identify the Join Field that is being used to Table Join two datasets together in ArcMap? I am currently using ArcGIS 10.0, SP5 and would prefer an ArcPy solution, ...
7
votes
1answer
415 views

Is ArcFM or ArcMap leaking memory when switching between page templates?

Can anyone else reproduce the memory leak described below? Any insight into what may be causing the leak is appreciated. I have custom code that swaps between landscape and portrait templates and ...
7
votes
3answers
479 views

How to improve positioning of images taken with GPS and Gyro info?

I'm sort of 'recreating' google street view with MIT right now. We have a car with a camera on top and we're driving at 10mph down a road. As we drive we're shooting pictures at 30fps and each photo ...
7
votes
1answer
97 views

Customizing Create Features window in ArcMap?

Can I customize Create Features window in ArcMap? (whether by using ArcMap capabilities or by writing ArcMap-Addin) I've read about Creating custom ArcMap TOC views, is there something similar for ...
7
votes
2answers
1k views

ArcGIS 10 - Text background not showing up when exporting

I have highways labeled with the standard shield and route number on it. For my main data frame the labels come up correctly. I also have 4 inset maps where only the number will show up, not the ...
6
votes
1answer
1k views

ArcMap redraws every layer when changing just one

I have 10 layers or so loaded in a data frame in ArcMap 10.2. Some are complex such as NHD hydrology and Tiger roads. Why does ArcMap redraw all layers when I change the symbology of just one? Is ...
6
votes
5answers
2k views

How to process large shapefiles faster in ArcGIS for Desktop?

I have huge line and polygon shapefiles that I want to edit with some geoprocessing tasks (clip, buffer, erase,...). Altough my computer is not that slow, I am annoyed of waiting up to 15 hours for ...
6
votes
4answers
5k views

Where to find .mxd examples for ArcGIS 10

I'm beginner of ArcGIS . I'm trying to learn how to use ArcMap. I would like to find some example MXD files for ArcMap, but couldn't find anything googling. Does anyone have any idea where can i find ...
6
votes
6answers
2k views

Finding shortest path while avoiding polygon features

I'm developing an extension to ArcMap where I have a set of static, concave polygon features and I'm trying to find the shortest path between 2 points without crossing any of the polygons. Is there ...
6
votes
3answers
4k views

Arcmap: attach python script to a button?

In ArcMap 9.x how can I attach a python script to a button?
6
votes
1answer
175 views

Select by Attributes - Strings with < 5 characters

I have a column of zip codes which are strings. Most of them are the usual 5 digit zip codes, but some are only 3 digits or missing a digit. (keep in mind, I need this column as strings for other ...
6
votes
2answers
268 views

Deleting polygons smaller than certain dimension using ArcGIS for Desktop?

I've made a model in modelbuilder in Arcmap 10.3, what it basically does is creating polygons over open areas such as farm-lands, grass-lands, marshes etc that has a low slope. My challenge is that I ...
6
votes
3answers
273 views

Is the filename of a shapefile the same as its Feature Class name?

This is a very basic question, but I'm not finding the answer on Google or here... I have a bundle of files I have to submit in an incredibly specific format. Our sub-consultants gave us a set of ...
6
votes
1answer
3k views

Delete layer from ArcMap using Python

Problem: I'm trying to loop through all my layers looking for layer named "CADAnnotation". If the layer exists then remove the layer from the mxd Notes: Running from Stand-Alone script (ie. NOT ...
6
votes
3answers
6k views

Exporting Selected Raster Graphics using ArcGIS Desktop?

I'm having a problem exporting raster graphics using ArcGIS 10. It seems simple enough, but for some reason I cannot get ArcMap to work with me. Here are my steps: Add a raster to ArcMap Open the ...
6
votes
2answers
1k views

How to refresh the ArcMap display using ArcPy?

Was trying to replicate a RePast Agent Analyst simulation using just Python and arcpy. The script was about urban expansion. The script just changes the values of a column in a shape file. ArcMap's ...