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

1
vote
1answer
335 views

How to set a color for a rectangle?

I had drawn a rectangle by adding element to graphics container like the code below: IGraphicsContainer gc = mxDoc.FocusMap as IGraphicsContainer; gc.Reset(); IRectangleElement rectangleElement = new ...
3
votes
1answer
4k views

Field Calculator VB Script Codeblock IF statement syntax is wrong

I can't figure out why the syntax is wrong in Field Calculator ArcMap 10. The complete codeblock is Dim CapitalDia As Number Dim TwagDia As Number Dim X As Number CapitalDia = [New_Pipe_S] TwagDia ...
2
votes
1answer
273 views

Domains can only be delete or modified by the owner?

Arcmap States that "When a new domain is created, the owner of that domain—that is, the user who created it—is recorded. Only the owner of an attribute domain can delete or modify it." So say for ...
3
votes
0answers
248 views

ArcMap is Corrupting my Map Templates

Yesterday ArcMap crashed and corrupted the toolbar layout of a map I used as model. No TOC, the Menu bar is on the left, ... Nothing dramatic, so I replaced them to something that is more of my ...
5
votes
2answers
430 views

How do I remove unwanted attributes from spatial join using ModelBuilder?

I am new to ArcGIS 10 and am currently building a model. This is a brief rundown of what I am doing at the moment. I have 2 shapefiles: one a polyline and the other is point data. I have joined both ...
3
votes
1answer
346 views

How to get X and Y coordinate values of the map?

I want the upper right and lower left coordinate of the exposed portion of the map, and for the whole map. What is the way to do this?
1
vote
1answer
92 views

Access to WMS from ArcMap with extra parameters

I'm trying to access AIRS WMS from ArcMap with additional time parameter (&TIME=2012-07-01) to see this summer's CO concentration. But the server returns a response with standard parameters (last ...
1
vote
1answer
550 views

How to change the view from layout view to data view using c# code in ArcMap?

How to change the view from layout view to data view using c# code?
1
vote
1answer
133 views

How to get 'IGraphicsContainer' from the map?

I tried to get IGraphicsContainer from Data View (active map) using FocusMap, ActiveView IGraphicsContainer graphicsContainer = (IGraphicsContainer)neApp.Document.MxDocument.FocusMap; but the ...
-1
votes
1answer
343 views

How to get the nonspatial tables in the TOC into a combobox in ArcMap?

I'm new in using Arcobject . i'd like to set dbf of ArcMap TOC to the Combobox Items. How can i set dbf files to items of combobox using C# programming and Arcobject ?
2
votes
1answer
727 views

How to draw a rectangle a the map using C#?

I have two points, Ipoint upperRight; and Ipoint lowerLeft; points. from the previous points i can get the height and the width for the rectangle. How can i draw a rectangle on the map?. I think i ...
2
votes
1answer
3k views

Can Compound Topographic Index (CTI) / Topographic Wetness Index (TWI) produce negative values?

I am calculating Topographic Wetness Index for a study area using SRTM DEM (90 and 30m). I've seen several versions of TWI (CTI). I have been using: TWI = ln(As +1 / tanB) where As = ...
2
votes
1answer
396 views

how to obtain elevation points for a road using contour?

I have contour lines, & roads centerlines feature classes, I need to get points with elevation in the starts, intersections, & the ends of the roads, how can I get this information? I used the ...
4
votes
4answers
5k views

How to break a single polyline into multiple polylines in ArcMap 10

I want to delete certain segments in a selected segment of a line in a line shape file in ArcMap10.
1
vote
0answers
427 views

How do I find the pgAdmin connection parameters?

I need to create a connection from arcmap to pgadmin using a python module because of an arcpy script, but I am unsure of how to get the pgadmin connection parameters. I think it may be some kind of ...
2
votes
1answer
373 views

How do I select * rows of multiple columns in one query using Select by Attributes within ArcMap?

I am trying to convert a psql query string into arcpy formatting for an UpdateCursor where expression parameter: '''SELECT ...
2
votes
2answers
225 views

How to add data from a Google map as layer in ArcMap using C#?

A want use C# to write a tool: add data google map as a layer in ArcMap. I am using Arcgis 10.0. Can you help me. Thanks and regards.
1
vote
1answer
517 views

How to get pixel size of Data Frame in arcMap layout?

The data frame where the map diagram will be presented in, appeared on the screen not in the actual size which is part of A4 page template, I want to get the actual size by getting the pixel size ...
1
vote
1answer
50 views

Prompting Dialogue Box to Have User Enter Information? Without ArcGIS Engine maybe?

Working with the ArcGIS family v10.1 on Windows 7. So, I have this vision for a GIS project that does the following: User opens up ArcGIS Explorer (ideally) or ArcMap (still fine), or I guess even ...
4
votes
4answers
3k views

How to concatenate numbers and add in leading zeros?

I have three text fields populated as follows: 1, 9, 1 that I need to concatenate into a field that looks like 01.09.01. Getting to 1.9.1 is easy but can anyone help out with how to formulate it so ...
4
votes
1answer
344 views

Is it possible to run an arcpy execute SQL method without connecting to any database or server?

I want to simply process a layer by writing a tool script in a toolbox without having to connect any database, so I think I may have to set up a workspace environment in ArcMap, but I'm not sure if I ...
2
votes
0answers
395 views

How to build a Query Layer in ArcMap 10.1 using columns of two different databases?

As you may know, to create a Query Layer in ArcMap 10.1, it is required to specify a connection to a concrete database and then, define the access to the tables and columns in the SQL Query ...
2
votes
2answers
860 views

How do you create a button in ArcGIS and have it run code?

I'm brand new to ArcGIS and have only a year or two of programming experience. I know Java and a little C#. I have a Java app that processes geographical data. I need to have a button in ArcMap that, ...
2
votes
2answers
445 views

ArcGIS.com and related tables

I haven't found anything on the ArcMAP forums. Is there any way to represent related tables on arcGIS.com web maps? I have a geodatabase that has related tables, but so far I am only able to show the ...
4
votes
2answers
2k views

How can I export data from a feature layer in ArcGis Server?

I'm using a public ArcGis server with some data I would like to export to shape or some other format. I know I can make a program (I'm a developer) that could query the server for all the features on ...
12
votes
1answer
2k views

How to increase the display performance of Bing basemaps in ArcMap?

I'd like to know if there are ways (within ArcGIS itself) to increase the display performance of basemaps within ArcMap. The internet connection was recently upgraded, so it is much faster than ...
2
votes
0answers
74 views

Cubist Add-In for ArcMap

I'm looking for an ArcMap add-in that will create a raster based on rules from RuleQuest Research's Cubist .model files. Ideally, the add-in will give the user the option of matching input raster data ...
5
votes
1answer
249 views

Getting ArcMap to display rasters properly first time

This is a very basic question, but as I've self-taught most of my GIS skills this is still a gap in my knowledge. When I load a .tif raster into ArcMap, most of the time it requires re-exporting to ...
1
vote
1answer
139 views

Idaho's southern border looks curved in ArcMap. How do I make Idaho look flat?

I have a polygon of Idaho's borders in ArcMap. The southern border of the state is slightly curved. I realize that the Earth is curved in reality, but I want Idaho to look flat. Is there a way to do ...
1
vote
1answer
64 views

Store global reference to a service/object

In developing with ArcMap, is there any way to register a service that can be used during the life-cycle of a document- for example to do something like: C# .NET ...
2
votes
1answer
382 views

How to display custom context menu during create feature task?

I have a created a custom context menu using ICommandBar and am displaying it on create feature mouse-down right click. I am constructing a point collection on each mouse down and then creating a ...
1
vote
0answers
71 views

Get layers and apply renderer to layer list from SDE ArcMap

I have the code that gets the layers from SDE, but when i add them to the map they have a different symbology. there is about 80 layers and i am accessing the SDE by getting the workspace from a ...
2
votes
1answer
1k views

Is there any way to set polygon features fill color and outline programmatically?

By some process I am creating a polygon feature layer. Before adding the layer in the map, I want to set polygon's fill color to no color and set polygon's outline color and width. I am working with ...
1
vote
1answer
205 views

How to programmatically Pause the drawing of the Map?

In ArcMap, there is a button to Pause the map's drawing. How do I programmatically call it from ArcObjects Code, before and after my heavy code runs?
2
votes
0answers
104 views

Connecting Access Table to ArcGIS (Replace Function!)

I have an Access Query where the Field names contain symbols like "-", ":" and spaces. When I was connecting my database to ArcCatalogue that specific Query-table was not visible. Then I used Replace ...
5
votes
2answers
1k views

Annoying little line in color ramp legends - how do I remove it?

This was never a problem with ArcGIS 9 but it appears that in 10.0 Esri has added small horizontal lines as the default when including color ramps in legends. I want to get rid of these annoying ...
5
votes
1answer
433 views

Turn off field programmatically in ArcMap via VB.Net

I'm creating an addin button in Arcmap via VB.net that when clicked, runs the identify tool. But I want only selected fields to appear in the identify dialog. My idea is to hide the unnecessary fields ...
4
votes
3answers
4k views

Query Layer with user-defined (dynamic) parameters in ArcGIS 10.1

I have prepared and published with ArcMap 10.1 to my ArcGIS Server a Query Layer to access some information in my database. My output map represents the European Union states and using annotations, ...
4
votes
1answer
185 views

How to use IDatabaseCompact.Compact() on an used IWorkspace, without permission denied

I am writting an ArcMap-AddIn with vb.net. I get an error when trying to compact my IWorkspace(mdb), the error is: COMException You tried to open a database, which was already opened by the ...
2
votes
1answer
284 views

Raster Analysis - Identifying features from Raster

I have an IDW, tension spline and hill-shade rasters that show an archaeological landscape and from these rasters I want to identify new features which are seen in the landscape as depressions. And ...
3
votes
3answers
1k views

get layer names from a group within a group

Trying to get the layer names from a group that are inside a group. I have the code the gets the layer from a group, but not group inside group. any ideas? Dim pDoc As IMxDocument Set pDoc = ...
3
votes
0answers
174 views

Selecting raster class with the highest count and attributing it to the field polygon [closed]

I am looking for a specific help. I have a 5m satellite image that I classified in ENVI. I brought this classified map into ArcGIS 10x as a .dat image and extracted the raster class for every pixel ...
5
votes
2answers
504 views

Error 000725 message from output workspace when using Python (ArcPy) script tool?

I am having trouble running a script tool that I just created in Arc 10.1. The script runs fine in PythonWin, but when I create a script tool with it, the tool seems to not want to accept folders or ...
1
vote
1answer
2k views

merge polygon in ArcGIS

I have 300 polygons in a single Shape file, I want merge some polygons together, when I merge two polygons the attribute does not come total count of two polygons, What I need is, when I merge two ...
1
vote
0answers
218 views

How do i get x, y coordinate values when click on map?

I am very preliminary in arc gis and in fact i am a web programmer. I created a local serviece and use this to create a web applcation in ArcGIS > ArcGIS Server for the Microsoft .NET Framework > ...
3
votes
1answer
1k views

Feature Layer is not showing the points on the map

I have a simple feature layer. The points will show up if I put the URL in a DynamicMapServiceLayer, but I need to use maptips, so that will not work. Below is my relevant XAML. If you need anymore ...
2
votes
1answer
344 views

How to clip data when using data driven pages in ArcMap 10?

I am working on a map book using data driven pages of the Silvies Valley in Northeastern Oregon. The basemap is a high resolution aerial image (raster) of Oregon with a shapefile overlay of USGS ...
5
votes
0answers
124 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. ...
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 ...
1
vote
1answer
2k views

How to find elevation of multiple points on a map on ArcGIS 9.3?

I am working on the sewerage system of a city. I have the x and y coordinates of the station locations stored in EXEL format. How can I use this data/file to extract the elevations of the stations ? ...