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
3k 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
6k 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
1k 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
1k 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
1answer
761 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
168 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
3answers
365 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
1k views

automated georeferencing

I am attempting to fully automate the process of georeferencing a load of .png files - i have xml file containing the co-ordinates - but how can i use them? Does anyone have any advice?
7
votes
1answer
85 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
5answers
679 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
872 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
770 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
3answers
3k views

How to digitize a raster automatically

I have a raster (.sid extension) file. I want to digitize roads automatically in ArcMap, QGIS..etc. Digitizing by hand would be too time consuming. How can i do this ? Thanks
6
votes
4answers
3k 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
4answers
26k views

How to create polygons from lines?

I am trying to create polygons from a line layer of lots and concessions (large blocks of land in rural areas). The lines are mainly grid style as they intersect mostly at right angles. I need to ...
6
votes
5answers
2k views

Running ARCgis 9.3.1 and 10.0 on the same machine

I have the full installation Media for 10 (9.3/SQL05 already loaded). And two editor licenses (one loaded and a new license file). What manner of wizardry is involved in getting around the conflict ...
6
votes
2answers
144 views

Reducing elevation from DEM using ArcGIS for Desktop?

I am so curious how would I strip off elevation from the DEM. I don't know how I would explain it further but I have attached an image to clarify this. I wanted to eliminate the area shaded with ...
6
votes
1answer
2k views

How to add feature class to MXD with ArcPy (Python)?

I am using ArcGIS 10.1 and I am trying to add a feature class that I create to an MXD, so that I can join to it. This all needs to be done using Python. Is this possible?
6
votes
2answers
2k views

ArcObjects: How to insert data into a table?

I have a table in ArcCatalog named WorkOrderAss. This table contains 3 columns: (OBJECTID, FeatureName, Name). I want to insert data to this table from the code behind in C#. Any help would be ...
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
5k views

Calculate area within Python script in Arcmap

I am trying to calculate the area of a polygon within my Python script. I create a new polygon from merging two together, and I'd like to add the area of the resulting polygon to a field in the output ...
6
votes
6answers
1k 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
222 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
2answers
695 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 ...
6
votes
2answers
884 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 ...
6
votes
3answers
3k views

What is the target .NET Framework of ESRI ArcObjects SDK 10.2

I had ArcMap 10 Add-In project built with ArcObjects SDK for .NET 10.1 where I could not reference external COM DLL build on .NET 4.0 due to a .NET forward compatibility issue. (ArcObjects SDK 10.1 ...
6
votes
3answers
6k views

How to Partition Line into Segments using ArcGIS for Desktop?

I have a shapefile of U.S. states. I extracted the boundary between two states, resulting in a line segment. For example, the boundary between Georgia and North Carolina. Is there a way to further ...
6
votes
3answers
4k views

ArcGIS Export Selected Raster Graphics

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
324 views

How to delete last part of a string starting from the 1st non numeric character? [closed]

I'm looking for a Python or VB statement to remove the last part of a string, starting where the 1st non Numeric character appears, using the Field Calculator in ArcMap 10. Here's an example of what ...
6
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)?
6
votes
1answer
593 views

overlay county shapefiles for 2 different years

I have county-level shapefile for South Caroline in 1880 and one for 1940. I would like to overlay these two files so that they do the union and indicate the percentage of the land in 1880 that went ...
6
votes
2answers
136 views

How to decide how to “stretch” raster imagery?

I have to symbolize a digital elevation model. ArcMap offers many different setting for stretching the symbology which all give widely different results. Some stretch methods symbolize the data so ...
6
votes
1answer
2k 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 ...
6
votes
3answers
3k views

How to efficiently read and reclassify many rasters in R

I've been tasked to create a suitability analysis of wave conditions in the Gulf of Mexico. I have 2 thousand or so raster files that are about 8 MB each (2438 columns, 1749 rows, 1km cell size). ...
6
votes
4answers
1k views

Code to open web browser crashes ArcMap when run from a Python add-in

I created an ArcMap Python add-in using ArcGIS 10.1 to open a webpage after the map is clicked. It opens the page but then ArcGIS crashes. import arcpy import pythonaddins import webbrowser class ...
6
votes
1answer
6k views

How to add automate values to attribute field?

I have parcel, Buildings layers, without any information attribute table, and i want to replace "NULL" values with numbers form 1 to 2000, in "Parcel ID", or "Building ID" field thank you.
6
votes
2answers
149 views

What event is fired when a feature is edited?

When the user draws a new feature (line, point, etc.) in ArcMap, there are null attributes. If the user enters values in these null fields what is the event that is fired? I want to control the ...
6
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 ...
6
votes
2answers
211 views

Select by Attribute within a specific area (using Select by Location?)

I have a map with four layers. Two of these layers cover an entire state, and the other two focus on the area I'm actually interested in within the state. I'm trying to Select by Attribute with one ...
6
votes
4answers
2k views

How to check via Arcpy if ArcMap is currently in an edit session or not?

I've created a Python add-in button that helps speed up my coworkers workflow by copying one feature class attribute to another. It uses the arcpy.UpdateCursor function to update a row in the target ...
6
votes
2answers
554 views

How to alter transparency by spatial location

I'm trying to create a map that has a all layers within a subject area having 0% transparency (full opaque), while features outside that area (defined by a polygon shapefile) having a reduced ...
6
votes
2answers
1k views

How to create regular soil sampling grids?

I need to be able to set up a soil sampling grid at regular spacings of around 50 - 100 meters. Then export the points to a GPS so I can be guided to the points. I am new to GIS and have tried to do ...
6
votes
3answers
2k views

How to determine elevation drop along stream with ArcGIS Desktop?

I need to calculate(estimate) hydraulic head(elevation drop) along a single river stream in order to find potential site for small hydropower plant. I have a DEM with 20m resolution and raster and ...
6
votes
3answers
2k views

How to create floating-only window in ArcMap?

I'm looking for a way to create a floating window in ArcMap. To give an example just look at the window of the Identify tool. Floating means that it stays in front of the map document at all times ...
6
votes
1answer
386 views

Why does tool take longer to run when in Python script?

I have written a python script that does some euclidean allocation. For that I use arcpy.gp.EucAllocation_sa() method. Now, my python script takes 30-40% extra time than spatial analyst euclidean ...
6
votes
1answer
3k views

Geometry from multiple selected features into one geometry

Lets see if I can explain what I'm trying to do. First of all I have developed an AddIn for ArcMap that can take one selected feature (Polygon) on a layer, grab the geometry of that feature, and save ...
6
votes
3answers
3k views

Convert .mxd with embedded VBA command button to ArcMap 10

I'm trying to convert an .mxd file from an older version to ArcMap 10. The old version had two simple VBA scripts attached to toolbar buttons. I am trying to convert this .mxd to ArcMap 10. For ...
6
votes
1answer
5k views

How to Convert labels to DWG Cad file?

I have a new task where the client is asking for a .dwg file of layer labels. My first thought would be to create an annotation of the labels and then try and use the Export to CAD tool in ArcMap. ...
6
votes
3answers
3k views

Is it possible to have a dynamic table in a data driven page environment?

I am creating a map series that has many polygons per sheet. There is annotation for the polygons however some polygons are very small with no annotation for them (annotation would completely hide a ...
6
votes
1answer
1k views

Reset local memory in ArcMap 10

I often am unable to delete files due to a lock or need to reset the data frame coordinate system. Very often starting a new session of Arc will allow certain geoprocessing or data management tasks ...