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
1answer
2k 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
2answers
121 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
992 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
3answers
805 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
3k 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
447 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
832 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
427 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
795 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
2answers
1k views

Change from layout view to data view using python? (ArcMap 10)

Is there a way to change from layout view to data view using python? I would prefer to do it using arcpy.
6
votes
3answers
551 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
246 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
342 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

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

Inserting newlines in Rectangle Text elements via ArcPy causes overlap

I ran across an issue the other day when I tried to use ArcPython's mapping module to edit rectangle text elements with newlines (\n) in an ArcMap document. Here's what the output looked like: ...
6
votes
2answers
1k 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
477 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
701 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
677 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
907 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
504 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
2k views

Is there a way to add a PDF to ArcMap as data?

I receive a lot of PDF maps (vector, image, with georeference and without) and I am having to convert them to an image file before I can add them to ArcMap and georeference. I can't see any obvious ...
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
695 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
248 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
292 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
804 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
847 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
5answers
417 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, ...
6
votes
1answer
337 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
198 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?

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

Geometry errors when importing data from ESRI file geodatabase to PostGIS

When I run the following command to import by data from an ESRI fgdb to postgis... ogr2ogr -f "PostgreSQL" -a_srs "EPSG:28355" -t_srs "EPSG:3857" PG:"dbname=tp_test user=postgres port=54321 ...
6
votes
0answers
118 views

Symbolizing route data [duplicate]

I'm working on a project that routes various modes of transport to one location (a school) in Arc Map 10. I have about 400 routes, so there is a significant amount of overlap as they near the school. ...
5
votes
2answers
784 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
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 ...
5
votes
2answers
1k 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 ...
5
votes
2answers
331 views

ArcMap Arcpy scripts: How to handle user password input?

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 ...
5
votes
5answers
2k views

Volume of water in a basin with reference to incremental height of DAM

I have a DEM of my area. I did watershed analysys with archydro. I want to calculate "Volume of water in a basin with reference to incremental height of DAM" Is there any method, tool to give output ...
5
votes
2answers
6k views

'Select by attribute' using python in ArcMap 10

I need to select a feature using SQL before zooming to it in python. What I'm looking for are replacements for the commented lines in this code: import arcpy parcel_num = "123456" mxd = ...
5
votes
1answer
1k 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 ...
5
votes
2answers
1k views

Use arcpy.mapping to list broken data layers?

I want to list all the broken links in all mxds in a server drive. But whenever I try I get an error come up. Can someone use a specific example, say the drive is D drive, how would I put it into ...
5
votes
2answers
5k views

Using ArcMap, how may I convert a shapefile to use decimal degrees?

I have a shapefile that currently uses meters as the measure for its coordinate system, but the map framework I wish to use expects decimal degrees. I'd like to reproject my shapefile to use decimal ...
5
votes
2answers
1k views

Where is the feature cache in ArcMap?

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 tis cache.As I found,when ArcMap wants to draw a layer from ...
5
votes
3answers
4k views

In ArcMap 10.0, how do you vertical dock the Tools toolbar to the left of the map and right of the TOC?

In general, I really like the docking environment in ArcGIS 10. As I was showing off ArcGIS 10 to some of my end-users, I couldn't get the toolbar docked to the left of the map and to the right of ...
5
votes
3answers
1k views

bing Basemap Missing

3/26/2014 - Since writing this question, a patch has been released. It can be found here: http://support.esri.com/en/downloads/patches-servicepacks/view/productid/160/metaid/2003 The bing ...