This tag should only be used for questions concerning the ArcGIS Platform from Esri (as a whole). Try wherever possible to use a product tag such as arcgis-desktop, arcgis-server, arcgis-mobile or arcgis-online on conjunction with a version tag such as arcgis-10.1, arcgis-10.0 or arcgis-9.3.

learn more… | top users | synonyms

6
votes
3answers
4k views

Global DEM to Slope calculation

I have downloaded SRTM GDEM (~90 km resolution). I am using ArcGIS 10. I have tried to use spatial analyst to compute for slope. However, I can not compute for the slope. The output values has only ...
18
votes
1answer
872 views

What is the most accurate coordinate system for calculating areas of polygons?

I have multiple polygons, all located offshore around the UK. I am trying to calculate the areas of these polygons in square kilometres, without splitting them by UTM zone. Is it possible to do this ...
16
votes
1answer
4k views

How to divide a polygon into specific sizes using ArcGIS?

I have several thousand irregularly shaped polygons in a shapefile. I want to be able to split each polygon into three areas, and to specify what the size of those areas (they sum to the previous ...
24
votes
4answers
1k views

How to use directional shading on boundaries for cartographic effect?

The attached screenshot of a National Geographic map shows some beautiful directional shading of boundaries. I'm trying to reproduce this sort of shading for a burn perimeter map, as I want to ...
19
votes
7answers
14k views

Removing small spaces between polygons

I have a set of polygons representing administrative districts. The districts were digitized by hand, and there are small spaces between polygons where the polygons should be touching. How can I ...
9
votes
3answers
6k views

How to change feature class and field aliases in bulk?

I have over a hundred FCs, each with 10 or 20 attributes to add or change the aliases for, two or more times a year. Needless to say, this is not something I'm going to grunt my way through. How can I ...
5
votes
2answers
1k views

How to build an artificial 'dam' across a river?

I have a DEM. Created all files related to watershed including accumulation, direction, streams etc... I'm stuck creating a dam. I request you to please let me know how to build an artificial 'dam' ...
8
votes
2answers
425 views

Create a summary table of the symbology of all datasets in multiple mxd's

This is related to the following Retain ESRI symbology in Mapinfo TAB . As an initial step (in arcpy) I want to access the symbology of all the datasets and create a document which has the details of ...
11
votes
3answers
6k views

list all feature classes in GDB, including within feature datasets

From python how can I build a list of all feature classes in a geodatabase, including inside feature datasets? The standard example only lists FC's at the top level of the gdb: import ...
7
votes
3answers
333 views

How to apply the four colors theorem in a polygon map in ArcGIS/ArcToolBox automatcally?

I need to apply the four colors theorem in a polygonal shape in a way that I do not need to choose manually each color to put in each region. I wish to knows if there is any extension, plug-in, script ...
7
votes
2answers
1k views

Workflow for determining stream gradient?

As far as data goes, I'm working with NHD .shp files, 10m DEMs, and some LIDAR data. My goal is to determine gradient for 100m segments of a network of streams. I'm already able to do this, but I ...
18
votes
2answers
7k views

How to convert an .mxd file to a .qgs file?

I recently tried to use QuantumGIS and I wondered if you can turn in a draft format ESRI mxd loadable qgs. This would avoid thematize the entire project. Thanks for your help.
13
votes
5answers
1k views

How to make a GIS inventory?

My office will be seeing a big change in its GIS section. This section has been operational since the 1980's and has a huge collection of GIS data (i.e., shapefiles, raster files, data, etc) but never ...
12
votes
4answers
1k views

comparing two DEMs

i have two Lidar las files, one is original let's say with X points. And the other is copy of the first las file but with Y points, where Y is less than X. Now, i wanted to compare how the Digital ...
12
votes
5answers
5k views

How to get the extent of each polygon in a shapefile?

In arcgis 10 and python I want to get the extent (xmax, ymax, xmin, ymin) info of each of the polygons in a shape file. I can get the extent of the whole shape file using ...
7
votes
1answer
1k views

Postgresql for Qgis and Arcgis - What to do/What not to do

Is it possible to use postgresql with QGIS and ArcGIS? One database for different clients. Is it anything that I have worry or any problems to use the DBMS from two different software? I know that I ...
13
votes
1answer
1k views

Voronoi polygons that run out to infinity

I have been working on implementing the voronoi.py script (Bill Simon's translation of Steve Fortune's code). According to the QGIS link it is basically the same code that I am working with, but the ...
14
votes
1answer
1k views

Calling arcpy/python from .NET?

Are there any available examples that show how python can be integrated into a .NET ArcGIS Addin or Extension? I have a series of python scripts that I would like to call from form events (e.g. button ...
18
votes
3answers
3k views

How can I calculate the average width of a polygon?

I'm interested in examining the average width of a polygon that represents the road surface. I also have the road centerline as a vector (which is sometimes not exactly in the center). In this example ...
8
votes
4answers
2k views

How to create arcs between two points in Python?

I've been working on an python script automating the visualization of live point data. I have a table with two coordinate pairs. I'd like to connect these two point with an arc of a circle or similar ...
7
votes
2answers
3k views

Exporting data from 'collect values' output in ArcGIS model builder

I'm currently playing with model builder. I've added a picture of the model I have at the moment. This model is currently iterating 6 shapefiles, so each of the 'output values' contain 6 figures in a ...
6
votes
5answers
3k views

Compiling Python Scripts That Use ArcGIS Geoprocessing Tools

I've been coding with Python for several months now and have developed some reasonably complex scripts for primarily geoprocessing tasks. That being said, I'm still learning a lot as I'm coming from a ...
7
votes
2answers
2k views

How to find the mid-point of a line in arcpy

How can the mid-point of a polyline be calculated using the geoprocessing framework, eg in a Python script? The polyline.centroid property returns The true centroid if it is within or on the feature; ...
4
votes
2answers
4k views

“If then” VB Script code (or Python) equivalent to SQL's IN ('x','y',z') expression in ArcGIS Field Calculator question?

we need just like the following, only with multiple records selected... have tried the "xyz" in (1,2,3,4,5) SQL code but of course VB Script wants something else. dim f2 if [field1] = "foo" then f2 ...
12
votes
2answers
2k views

Raster noise reduction and edge smoothing

I have a raster image like this I want to delete the isolated noise point and smooth the edge (say the white single points, and I want the edges of the entity look smooth). How can I do this in ...
10
votes
2answers
816 views

Add arbitrary code to Arcgis model builder?

Is there any way to add arbitrary code snippets to an Arcgis model? I envision something similar to the "show code block" the expression builder in advanced labelling or field calculator. For ...
9
votes
3answers
5k views

How does ArcGIS compute the distance between two points with a non-equidistant projection?

This is a follow-up question to my previous one, Can you suggest some well-written introductory texts about coordinate system projections? Let's assume I'm working with the CH1903 map projection, ...
8
votes
2answers
4k views

Issues with large datasets

I am trying to run an Intersect process in arcgis 10 sp 3 with 2 file sets (aspect and slope) from up to a 1m DEM across an area of 65,000sq km. The aspect has 9,930,384 records and the slope has ...
11
votes
6answers
7k views

How do I create a convex hull in ArcGIS?

I would like to be able to create a convex hull in ArcGIS 9.x, but I can't find an appropriate tool. How does one go about creating one? I am interested in answers for all license levels, ArcView, ...
7
votes
1answer
771 views

Partially update a raster (a DEM)

My todays question is: How to update an .img DEM in ArcView 9.3? I do have DEM which need to be updated only if few parts. The area to be updated has been produced in separate DEM with Spline ...
3
votes
1answer
663 views

ArcGIS: How do you get an annotation layer working inside a group layer?

How do you get an annotation layer working inside a group layer? When I try I get the error message "error adding element". I have a project that requires several annotation layer to be organised ...
3
votes
3answers
4k views

Problem with ArcToolbox tools

I work with ArcGIS 9.3. When I try to run any ArcToolbox tool I receive the message: Window Internet Explorer (Title of the Window) "One or more ActiveX controls could not be displayed because ...
19
votes
4answers
3k views

Is there any model builder in QGIS or other open source GIS?

Like the model builder in ArcGIS Desktop to run simultaneous geoprocessing tools, is there any model builder available in QGIS or an open source GIS software.
8
votes
4answers
3k views

How to develop GUI in Python for geoprocessing?

I want to develop GUI in Python for geoprocessing, but I don't know what is the best GUI tool or library (Tkinter, PyQT, wxPython) for geoprocessing? Can I use PyQT for GUI programming in ArcGIS?
14
votes
3answers
2k views

Do ArcGIS SpatialReference object factory codes correspond with EPSG numbers?

I've got a project where I'm reading in geometry objects from text files to put them in ArcSDE. These geometry objects have an associated EPSG code, and I'm looking for a way to ensure they're in the ...
11
votes
4answers
7k views

Is it possible to use Arcpy in ArcGIS 10 to zoom to a selected feature?

The answer to this may be a simple yes or no, but I'm hoping that someone is aware of a way to zoom to the extent of a selected feature using the ArcPy modules in ArcGIS 10.
10
votes
2answers
897 views

How to unit test ArcObjects with Mocking

I'm a huge fan of unit testing, but still make use of a FGDB to grab features for running unit tests against when using the ArcObjects framework. Is anyone successfully using mocking against thinks ...
9
votes
2answers
596 views

Can ArcGIS and OSGeo4W share the same python install?

I don't like unnecessary duplication. Is it possible to install python only once and have both ArcGIS and OSGeo4W use it?
6
votes
3answers
1k views

How do I use polygons to apply a unique value to all raster cells within those polygons?

In ArcGIS 9.3, I have a raster file that I would like to "mask" with polygons, giving a single value to all the raster cells that overlap the polygons. How can I do this? Here's a screen shot, where ...
9
votes
1answer
1k views

How to find differences between shapefiles?

Every month I have to QA/QC some streets data for an entire county (over 47,000 records). The first step is to compare the two files. Currently, I'm using a tool that was created in house via VBA ...
8
votes
3answers
582 views

Applying version control to ArcGIS Models

Version control is an indispensible tool for software development, allowing one to reliably and cleanly step back in time to the last time X did it's job exactly right, or to see what changed between ...
6
votes
2answers
3k views

Converting from DMS to DD using Python in Field Calculator

I need to convert lat/long that is expressed as degrees, minutes, and seconds in the data into decimal degrees. For example, in the data, they are listed as N335042.06 in the Latitude column, and ...
7
votes
7answers
4k views

How to Remove return/newline (\n) character from Field using Python and Field Calculator?

I have a geodatabase table with a field that I'm trying to remove return characters (new line). I found this post (How can I remove (chomp) a newline in Python?) of how to do it, however it is not ...
5
votes
1answer
683 views

Definitions of arcgis script parameter Data Type options

When adding a python script to a toolbox in Arcgis one of the steps is to set parameters and specify what Data Type each requires. The list is long, perhaps a hundred, and many are not immediately ...
5
votes
2answers
2k views

ArcGIS 10 Model Builder In-line variable substitution for input data path

Does anyone know how/if you can use in-line variable substitution for an input path name in model builder for ArcGIS 10? I used "get field value" to retrieve a code from one feature class, and I want ...
4
votes
2answers
1k views

How to standardize raster output from 0 to 100 using raster algebra?

I am working on generating an integrated moisture index based on the following equation: IMI = (hill shade * 0.5) + (curvature * 0.15) + (flow accumulation * 0.35) Iverson et al. 1997 Another ...
8
votes
4answers
5k views

How to remove a feature layer in an ArcPy Script

So, I have an arcpy based script where I'm trying to intersect two layers where one layer must have its centroid in the other layer. Since I need to know that one layer (feature_layer below) includes ...
7
votes
2answers
3k views

SELECT TOP query in ArcGIS

Is there a way to use a SELECT TOP (n) within ArcGIS desktop? Is appears that since the ArcGIS query builder is effectively building the SQL statement after the WHERE clause, that this may not be ...
5
votes
1answer
2k views

ArcGIS: inside buffer with attributes?

How can I create buffers for polygons that a) lie only inside the polygon boundary, and b) know who their parent is? An example of where this is useful is First Nation Traditional Territories. There ...
4
votes
3answers
795 views

How can i transfer data from a spreadsheet into a shapefile?

I am looking at Deprivation in the UK and there is some good data in the form of spreadsheets on this website http://www.communities.gov.uk/publications/corporate/statistics/indices2010 I would like ...