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

6
votes
3answers
1k 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
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
3k views

Arcmap: attach python script to a button?

In ArcMap 9.x how can I attach a python script to a button?
6
votes
6answers
834 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
2answers
629 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
1answer
2k views

How to perform If Statement in Field Calculator of ArcGIS for Desktop?

I have a shapefile containing two numeric fields ("Dist_1" and "Dist_2"). I want a Field Calculation that will populate an additional field ("Result") with one of three answers: First if Dist_1 is ...
6
votes
3answers
2k 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
2k 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
1answer
3k 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
3answers
1k 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
498 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
128 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
6k views

Where is the Angle Measure Tool in ArcMap 10?

I can't seem to find it.
6
votes
4answers
978 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
3answers
1k 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
1answer
4k 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
1answer
585 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 ...
6
votes
2answers
988 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?
6
votes
2answers
463 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
843 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
670 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
2k 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 ...
6
votes
1answer
281 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
384 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 ...
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
2k views

Analyzing Flow direction in Geometric Networks in ArcGIS

I have a task in ArcGIS which involves using Geometric Network and right now I am experimenting with Set Flow direction function from Utility Network Analyst toolbar in ArcMap. I've read section Flow ...
6
votes
2answers
2k views

How to determine elevation drop along a stream with ArcGIS?

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

How could I compare polygons with appropriate circle?

My problem is that I have a polygon shape file with 1034 records which are the Greek municipalities. My goal is to compare the shape of every record with the circle. In other words, I want to observe ...
6
votes
4answers
862 views

How to force polygons to the bottom, without compromizing drawing speed?

I have a large polygon dataset and no time to rebuild it to regoranize the Object IDs. Many polygons are drawing above others, blocking their symbol (for example on one side of the polygon). I tried ...
6
votes
1answer
798 views

Editing tables using SQL in ArcMap

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 ...
6
votes
1answer
968 views

How to always enable an ArcGIS toolbar?

On ArcMap 9.3.1, is there a way to ensure that a toolbar is always enabled? In my case, I want the Standard toolbar (the one with new/open/save/print icons) to always be visible. I'd like the ...
6
votes
2answers
645 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 ...
6
votes
1answer
4k views

How can I edit/create new Normal.mxt template in ArcGIS 10.1?

I used to work with .mxt templates often back in version 9 and 8 but things seems to have changed since then. I realized that my new documents are loading a style file I don't want to to be loaded ...
6
votes
2answers
2k 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. ...
6
votes
2answers
3k views

How to calculate a field in ArcGIS using Python?

I'm trying to calculate a field based on the values of others in the same layer in a calculation. I can't work out why its not working. I've even cut everything down to just be based on one field and ...
6
votes
2answers
817 views

Shortcut to copy current cursor coordinates in ArcMap

Is there a shortcut or an extension to ArcMap 10 that would allow me to quickly copy (to clipboard) the coordinates at the current map position/click? I could implement such a functionality easily ...
6
votes
1answer
258 views

Use existing property pages with new IFeatureRenderer

I am trying to override the drawing of a feature within a custom plugin data source. I believe this entails making a custom IFeatureRenderer. However, the "renderer" I'd like to design would be 99% ...
6
votes
2answers
1k views

calculate average slope along a line

I have a slope layer and I want to calculate the average slope along a line. This line isn't necessarily straight (e.g its a route, I would like to be able to input geographic coordinates along that ...
6
votes
1answer
312 views

How to access a graph in an ArcMap document with arcpy?

I am trying to access an existing graph in an ArcMap document with arcpy. I know how to create a new graph with arcpy, but I cannot seem to figure out how to access an existing graph in an ArcMap ...
6
votes
3answers
821 views

Converting point data into a weighted raster

I am completely re-writing my question as i think it was quite confusing before: I have a number of different points, each point has a -z value. I need to create some sort of raster or a series of ...
6
votes
2answers
881 views

ArcGIS metadata creation scripts

I maintain metadata as I always have....inconsistently and sporadically.. I know...booh to me. Anyways, I know python can pull all kinds of info out of mxd in V10. Has anybody come up with some ...
6
votes
1answer
507 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
229 views

Testing ArcMAP 10.0

I want to test performance of Arc Desktop based applications. I tried GDBT but it not give me any information about request time etc. I tried also a Workflow Profiler, but this tool usually crash my ...
6
votes
2answers
2k views

Measuring distance between points in ArcMap - what coordinate system to use?

This is a basic -newbie - question. I have some handwritten data points taken off a GPS - so I am assuming they are in WGS 84, and I want to load them in ArcMap 9.3, via excel, and measure the ...
6
votes
1answer
3k views

How to apply Mapnik style for OSM data in ArcMAP? [duplicate]

I am loading OpenStreetMap vector data into ArcMAP (using the Download and Symbolize OSM Data tool of ArcGIS Editor for OpenStreetMap 1.1). I'm sure there must be a simple way to apply the ...
6
votes
1answer
1k views

How to export Bing Maps layers to Pdf with Arcmap - and get appropriate resolution?

I've got a GP service that creates a new mxd, adds Bing Layers to it, zooms to a particular extent, then exports a pdf. Sometimes (when the network is slow, I suspect) the resulting pdf has a mixture ...
5
votes
6answers
9k views

Points to Polygon

I've millions of points collected for lithology layer. They have used a coding for different types of rocks. I need to create a polygon around the extent of similar points. What is the easiest way to ...
5
votes
2answers
931 views

ArcMap10: Symbology of Overlapping Polygons (Oil & Gas)

I am mapping an area where there are a lot of overlapping features because of certain Oil & Gas wells being drilled within the same geographic area, but to different depths and maintained by ...
5
votes
3answers
675 views

define parameter descriptions in ESRI Python Toolbox

I'm trying to create some Python Toolboxes for our ArcMap application (e.g. MyTool.pyt) I can see that the help text is defined with the classes self.description attribute. However, once I run the ...