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

4
votes
1answer
246 views

Arcmap: subset A.shp based on B.shp, then partially update B.shp

Okay, so I have 2 shapefiles: US states outline file (very coarse/simple outlines) Global Self-consistent Hierarchical High-resolution Shorelines, Level F (much finer spatial resolution) I am ...
1
vote
3answers
3k views

Using VBScript to label shapefile in ArcMap?

If you're reading this for the first time, it might be best to focus on section beneath ANOTHER UPDATE. I'm a beginner with VBScript and I have a question about using an VBScript expression for a ...
2
votes
1answer
189 views

Overlapping buffers - Doublecount points that fall within 2 or more buffers

I want to analyze crime around certain types of stores in a city. I made buffers around the stores and I need to a) select and extract crimes that occurred within those buffers, and b) join the two ...
1
vote
0answers
472 views

Cannot join feature layer with SQL Server table with query built in it in ArcMap

I need to join a feature layer with a SQL Server View with a common field in ArcMap. The View was successfully added to ArcMap as data table with some query built on it from Query Builder. When I ...
3
votes
0answers
107 views

Modify feature: moving or change the shape

When the user make some edit on features on ArcMap, the user can make some changes like moving the feature ,edit the attribute or change the shape. how could i know if the user move the feature or ...
2
votes
0answers
84 views

How to prevent the user from moving the feature?

I want to prevent the user from moving the feature in ArcMap when editing. I used OnChangeFeature event but it does not work. void m_editEvents_OnChangeFeature(IObject obj) { ...
0
votes
1answer
279 views

Clipping soil survey map service to feature class?

I'm guessing this is not possible but is there any way to clip a Esri map service such as the Soil Survey Map for a another feature polygon? ...
4
votes
1answer
1k views

Transparency in ArcMap Graphic Elements

Is it possible to apply transparency to graphic elements in an ArcMap layout? I'm specifically refering to a neatline -- a box containing my legend, source info, scale bar, etc.
3
votes
1answer
81 views

How to prevent user from deleting a feature?

How can I prevent the user from deleting a feature? void m_editEvents_OnDeleteFeature(IObject obj) { // Code }
2
votes
1answer
1k views

Added PNG dissapears when I export/print map

Ive added a PNG image of a chart to my map and when i try to export as any image file or print the map the PNG image is not there. Im using arcmap 9.3. in layout view im adding image which ive tried ...
3
votes
2answers
492 views

Using commands from ArcMap Main Menu in ModelBuilder?

Is it possible to use the functions from ArcMap's Main Menu (for example Add Data, Start Editing) in my model? I cannot find a way to add any other functions except Toolboxes.
13
votes
1answer
1k views

How to get selected Features/Geometry from Windows Clipboard in ArcMap/C#?

I have a custom tool in ArcMap 10. The Workflow is the following: Select Features in a Layer with the "Select Features by Rectangle" tool Copy the Features to the Clipboard using STRG+c Select the ...
2
votes
1answer
145 views

How to cancel the edit session?

I want to prevent the user from starting an edit session under certain conditions. How can I do that? void m_editEvents_OnStartEditing() { // Code }
1
vote
0answers
249 views

How to label every point in a dynamic feature layer? [closed]

How do I label the feature layer in a ArcGIS map with the data associated with the feature layer? I want to place the label bottom right corner of the marker symbol in the feature layer(lat-long ...
1
vote
1answer
134 views

Listen to edit events

I recently started working on ArcMap. I want to make some changes to the edit tools. For example I want to prevent the user from using the sketch tool when the time is between 1pm and 2pm But I ...
3
votes
1answer
324 views

Python SQL connection causes crash in ArcMap

I have the following code which I have striped down to just included the part that is causing a crash in ArcMap. import pymssql # Connect to the Research db using Windows Integrated Authentication. ...
6
votes
1answer
5k 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 ...
2
votes
2answers
786 views

How to transpose the lat/lon coordinates of a shapefile?

I need X to be Y and Y to be X (switching lat/long) within the polygon shapefile. If it were a point shapefile I know I could simply reverse the lat/long or x/y parameter and import from a table. I'm ...
2
votes
1answer
5k views

How to Clear Selected Features in Arcmap using Python

I would like to Clear Any Selected Features using python since it causes an error if I run my tool and the user has a recorded selected. I need some thing here that runs ("CLEAR_SELECTION") first ...
2
votes
1answer
3k views

GeoServer + ArcMap

I need to setup GeoServer and access GeoTIFF images in the ArcMap. I have started with installing Geoserver and created a layer with GeoTIFF. Now, what are the next steps to publish the map(using WMS) ...
0
votes
1answer
816 views

Python: 'Select by Attribute' in ArcMap 10

I would like to get the search the field value 'SURFACE LOCATION%' in column 'RefName' in layer '*.dwg Annotation' This is what I have so far... # Find the Dataframe df = ...
2
votes
1answer
609 views

Python: Run script when opening an MXD in ArcGIS 10

This post is related to Run a Python Script when opening an MXD? I would like a python script to run every time a .mxd is opened. However, the link above uses VBA to do it, which ESRI suggests ...
1
vote
1answer
1k views

Can't add map service (map cache) to mxd

When trying to add a map service (in this case a map cache service) to an ArcMap project, I keep getting an error that says: Could not add specified data object to the map. Could not connect to the ...
4
votes
1answer
3k views

calculate building density in ArcMap

I have two questions related to calculate building density. I need to calculate the building density in a map which Data is in shape format. The buildings and the area are in two different layers. ...
2
votes
2answers
522 views

displaying combined data values in ArcMap

I got some data in an attributes table and I would like to know how I can combine them in order to get an unique value in the map. For instance, Attribute: Type Value: Street Those values I ...
4
votes
1answer
2k views

Copying coded value for field and not raw value?

I am working with ArcGIS 10 and I have added a field in a feature class and am attempting to copy the text from another field's coded values, but the field calculator is simply copying the "code" text ...
0
votes
2answers
2k views

ArcMap 9.3 Hangs on trying to save

I am having trouble with a machine running Arc GIS 9.3. When one tries to save an mxd, ArcMap stops responding and just hangs. I have even tried with an blank new mxd but the moment one clicks save it ...
6
votes
1answer
422 views

Creating a VB.net Dataset in Visual Studio 2010 from an SDE Geodatabase

I am building an ArcMap Addin that contains several Windows Forms with controls that need to be bound to a database. I am trying to decide whether or not to use a native SQL Server Database or an SDE ...
7
votes
1answer
1k 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 ...
2
votes
0answers
103 views

network related issues arising when running an arcpy script

Essentially I wrote an arcpy script that is within a toolbox that I ported over to a different machine to test out after the script worked locally. The script essentially utilizes the psycopg module ...
1
vote
0answers
69 views

Get polygons inside a polygon

I have developed a tool in arcobjects on Visual studio 2010, the tool works fine but once installed my ArcMap drawing the map (refreshing) and printing slows down.. I have used ITopologicalOperator ...
1
vote
1answer
150 views

Button that allows project search and zooms to site once executed

I am trying to create a button that will execute a Python script. I have limited Python experience. What we are trying to accomplish is to recreate these steps: Query on project Site and Radius ...
2
votes
1answer
393 views

Does Coordinate System of ArcMap data frame have to match at least one of its layers?

Does the Coordinate system of a data frame in ArcMap have to match the coordinate system of at least one of the layers in the table of contents? I have found that if defined it will take on the ...
4
votes
2answers
4k views

How to Edit Reference Styles in ArcMap 10

Within the Symbol Selector > Referenced Styles How does one edit (rename, delete, etc.) the referenced styles? Clarification: I don't mean changing the look of the symbol using the "Edit Symbol" ...
1
vote
1answer
885 views

Exported ArcMap crashes ArcPad 10

I'm a computer scientist, and not really familiar with all the terms related to GIS, please forgive me. I have been given an ArcMap project that consists, what I believe are raster layers, aligned ...
1
vote
1answer
1k views

Calculate the distance between two contours

I have two contour polylines (single shapefile) and I would like to calculate the mean, min and max distances between the two lines. Is there a function in ArcMap 10 (ArcInfo license, incl. Spatial ...
10
votes
2answers
2k views

Shapefile to SVG with ArcMap (while retaining country attributes)

Does anybody know how to export the Natural Earth 1:110m shapefile to SVG with ArcMap while retaining the country attributes? From SVG I'm gonna try to convert it again over to RaphaelJS to achieve ...
1
vote
2answers
1k views

How to automate relative filepath when adding a new toolbox to the arcmap catalog?

So I'm creating an arcpy script for a custom toolbox and I want to make it so that a user can essentially utilize the script in that toolbox without having to change the source path (which I made ...
1
vote
1answer
112 views

How do I keep user from selecting a different tool when my custom tool is selected?

I am using VB.Net to write an add-in. I'd like to keep the tool that I created selected even when the user attempts to select a different tool, and only deselect when my tool is clicked on again.
6
votes
2answers
4k views

How do you construct a definition query to return only those features in the current month without hard coding the date?

I have a feature class containing a date field within a 9.3.1 File Geodatabase. There are "duplicate" features contained within this layer, one feature for each month over the past few months. ...
1
vote
1answer
675 views

How do I save edits from an ArcMap editing session using VB.Net?

I have figured out how to do a map save document, but I would also like to be able to save edits whether or not I am also saving the map document.
2
votes
1answer
771 views

How do I save an ArcMap map document using VB.Net?

I am trying to save the map document that is currently open. How do I write the code? I have tried many suggestions that I found using Google searches, but nothing works. Currently I have: Dim ...
8
votes
4answers
3k views

Open source software to merge large shape files

Some background: I have 2 polygon shape files with approximately 500,000 records each. The two files are identical in terms of field structure. Using ArcGIS 10.0 I can'nt merge these two files using ...
4
votes
1answer
2k views

Using Make Grids and Graticules Layer in ArcMap?

I'm trying to use the Make Grids and Graticules Layer tool in ArcMap (have a ArcInfo license). I'm looking for a basic example like in North America. eg. Start with empty map Set data frame to ...
4
votes
1answer
860 views

Calculation of average point distances from one another within a polygon grid

I am working with processed LiDAR data of forested areas in ArcMap 10, with various area based statistics extracted for each 30x30m polygon grid-cell in a shapefile. There are approximately 20,000 of ...
3
votes
2answers
872 views

How to have different annotations for the same feature?

I've been given a dataset that has two different annotations set for a single feature which I can flip between. See below screenshot which allows me to set either a blue or red leader line for the ...
4
votes
1answer
287 views

Estimating cline width at multiple points along a trait gradient

In the map below I have 66 (green) points along the midpoint (0.5) for an allele frequency cline across the region (see map). I created the points by placing a point every 25 km along the 0.5 allele ...
2
votes
1answer
4k views

clip polygon with the extents of contour polylines

I have a polygon shape that represents the boundary of Fennoscandinavia and a polyline shapefile representing two contour intervals for a trait. I would like to create a new polygon representing the ...
2
votes
1answer
115 views

Is it possible to display Modified and Size in Contents panel of ArcMap's Catalog Window?

In ArcCatalog 10.0 SP2 it is possible to display the Modified and Size column values, and to sort by them. However, in the Catalog window of ArcMap 10.0 SP2, it does not seem to be possible to do ...
3
votes
1answer
269 views

Keeping streaming on in ArcMap when switching editing tools?

I have this problem constantly, because I digitize for work. No one there has figured this out and I was wondering if someone can tell me how to do this, because I'm tired of constantly hitting F8 and ...