Tagged Questions

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

0
votes
1answer
386 views

How to create text label of different scales?

I would like to create a different type of map in ArcMAp.I would like to present the frequency of some words. So the dimension of the word (maybe even the color) would symbolize its frequency. I ...
2
votes
1answer
738 views

Changing the name of layer using python

I am attempting to change the name of the layer. The following code changes the name of the layer but then removes the layer from the map, and I am not sure why. Note: I don't have any remove layer ...
3
votes
2answers
328 views

Listing features in the order they were selected

This is an ArcObjects-specific version of this question: Create Array From Selected Features Based on the Order in Which They Were Selected Is there a way to get the selected FIDs of a feature layer, ...
1
vote
3answers
811 views

Update shapefile data source with wildcard using python

I am attempting to update a layer's data source in Arcmap using python for lyr in arcpy.mapping.ListLayers(mxd, "*", df): if lyr.name == "project_whl": ...
2
votes
3answers
295 views

How to calculate exact area of a loaded jpg map in to arcmap?

I calculated the polygon area through arcmap.but i'm not sure that the area is not actual,may be scale is not right. so how to calculate the exact area of a jpg image?
8
votes
2answers
2k views

Cartographic techniques for symbolizing routing data

Some common problems with displaying routes created from street data, such as bus routes, include: Routes may overlap themselves, such as when a route takes the same road in opposite directions ...
2
votes
0answers
449 views

Add CAD Drawing Dataset into ArcMap using Python

I am trying to add an CAD Drawing Dataset into ArcMap using Python. Question is how to add a Auto-CAD .dwg file to ArcMap using Python Normally comes in as CAD file within a Group layer with: ...
4
votes
1answer
307 views

Retrieve data from FeatureClass

I have : FeatureClass (Structure) column (Type) column (OID) I am trying to get the (Type) for specific OID. I tried to use this code but it dose not work. IFeatureWorkspace featureWorkspace = ...
6
votes
2answers
136 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 ...
3
votes
1answer
142 views

OID for the last added feature

How can i get the Object ID for the last feature created ? i use m_editEvents_OnSketchFinished() event to run some code, but i can't get the OID of the most recent added feature.
2
votes
1answer
177 views

Ghosting and Map Functionality Loss in Map View C# Arcobjects

I'm writing a C# add-in and trying to implement a piece where a user can add points to a graphics layer on the map view. The points are drawing, however the map pane has serious ghosting issues and I ...
0
votes
1answer
272 views

Why does the File Geodatabase that I created not appear to any other users on the network?

I created a File Geodatabase to store files that I use in maps for my coworkers. The folder is in a location where all users should have access and permissions. Strangely enough, after I created the ...
4
votes
2answers
511 views

Select polygons contained inside a polygon and assign ID

I have a polygon feature class Base_FC, where each poly has a unique alphanumeric ID. My second polygon feature class Type_FC has the details for the various polygons which would fall inside Base_FC ...
4
votes
1answer
4k views

How to I create and Import marker symbols (or 'Style References') in ArcMap 10?

I work with many different federal lands all of which can be associated with iconic logos (think National Park Service, National Wildlife Refuge System, etc.). I'd like to create a 'Style Reference' ...
14
votes
3answers
644 views

How to count consecutive pixel values for a set of rasters?

All, I'm using ArcGIS 10 with Spatial Analyst. I have a set of rasters (8 in total) that only every contain a 1 or a 0 for each cell. Each raster represents a different years worth of data. For ...
6
votes
3answers
3k 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 ...
7
votes
1answer
1k views

How can I auto-increment output file-names in Toolbox ESRI ArcMap 10

I have a simple tool which outputs a file. I would like the filename to be a number which increments every time the tool is run. How would I go about implementing this using the toolbox in ESRI ...
4
votes
1answer
119 views

Symbology issue with feature class limited by domain

I added a field to a feature class in order to maintain symbology from the original KML file (this is a new question following up on this one). The new field is limited to three options by a domain. ...
1
vote
1answer
222 views

Dealing with tables in ArcMap

I had create a table and line feature class in ArcCatalog. i want to deal with those tables in ArcMap. Read Add Delete Update how could i do that?
3
votes
1answer
544 views

Transform multiple layers as one unit in ArcGIS 10?

The general/conceptual question: Is there a way to transform multiple layers together in ArcMap 10 (on Windows XP SP3) as one unit? More specifically: I have an ArcMap document with a georeferenced ...
5
votes
1answer
1k views

How do you symbolize a feature class layer in ArcMap 10 based on one attribute's value and then another attribute's value?

I currently have a point feature class that has a couple of attributes that I want to use to symbolize its layer. One of the attributes is called ExceedsTolerance, which either has "Y" or "N" for its ...
2
votes
0answers
898 views

Trouble with adding WFS layer in ArcMap

I add the following WFS address to ArcCatalog just fine and the different feature classes show up in ArcCatalog. However, when I attempt to drag or Add a feature into the TOC of ArcMap, it gives me a ...
2
votes
0answers
36 views

Why did my shapefile distance get smaller after changing the projection? [duplicate]

Possible Duplicate: Layers having the same coordinate system should overlap, but they don't. What's wrong? I'm working with a shapefile that has a geographic coordinate system and I ...
6
votes
2answers
1k 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?
4
votes
1answer
194 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
2k 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
162 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
360 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
100 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
68 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) { ...
1
vote
1answer
199 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
785 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
78 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
818 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 ...
2
votes
2answers
366 views

Is it possible to use commands from ArcMap's main menu in Model Builder

Is it possible to use the functions from ArcMap's main menu (for example Add Data, Start Editing) in my model? I can not 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
122 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
215 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
116 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
262 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
3k 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
1answer
508 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 ...
0
votes
1answer
2k views

How to Clear Selected Features in Arcmap using Python

Clear Any Selected Features using python to prevent error if user has a recorded selected before running the tool. arcpy.SelectLayerByAttribute_management(Table,"CLEAR_SELECTION") rows = ...
2
votes
1answer
2k 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
730 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
450 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
975 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
2k 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
264 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 ...
3
votes
1answer
1k views

How do I copy the coded value for a field and not the 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 ...