Use this tag ONLY for questions concerning the ArcGIS platform AS A WHOLE. Normally use a product tag such as arcgis-desktop, arcgis-server, arcgis-online, arcgis-mobile or arcgis-runtime in conjunction with a version tag such as ArcGIS-10.2, arcgis-10.1, arcgis-10.0 or arcgis-9.3.

learn more… | top users | synonyms

1
vote
3answers
1k views

How do I add a shapefile in ArcGIS via python scripting?

I am trying to automate various tasks in ArcGIS Desktop (using ArcMap generally) with Python, and I keep needing a way to add a shape file to the current map. (And then do stuff to it, but that's ...
13
votes
3answers
6k views

Free tool to convert .lpk to .shp file

I have a .lpk file from ESRI that I would like to convert to a shapefile. How can I do this, using only free software?
8
votes
2answers
434 views

Finding polygons without right angles

Now we are digitizing some buildings in specified area. The obligatory rule for this work - in most cases buildings should have right angles. We are using QGIS with CAD tools for this work. But ...
8
votes
4answers
3k views

Lines that intersect vs. Lines that touch - how to distinguish?

How do I distinguish between these cases in ArcGIS 10? I am looking at the Trim Line function but that's not what I want (destructive). Case 1: Both endpoints of a line touch another line Case 2: ...
8
votes
3answers
1k views

How to combine corner-touching polygons into a single feature

I have created a polygon layer from rasters, and only have a single classification ID (and calculated acres) for each polygon. I would like to "dissolve" all touching features into larger, individual ...
8
votes
0answers
373 views

Using a different Python IDE/debugger for ArcGIS [duplicate]

Possible Duplicate: How can I effectively debug arcpy Python scripts? I prefer to use PyScripter over IDLE as my IDE/debugger for writing GP scripts in Python. In ArcGIS, however, when I ...
7
votes
2answers
905 views

Is it possible to emulate “Swiss style” shaded relief with ArcGIS tools?

Is there a way to create a Swiss style (or other hand-shaded-like styles) shaded relief from a dem using ArcGIS tools alone?
6
votes
2answers
472 views

How can I find out Persional GeoDatabase version?

I am working ArcMap software. How can I find out Personal Geodatabase Version? I have client file. But I want to find out which version they have to used. I am looking for your guidance
6
votes
1answer
384 views

Algorithm to fill the gaps adjacent to parcels

I would like to find a way to fill the gaps between the road and its surrounding parcels, like described in picture below: I have different parcels like A and B , i want to fill the gaps by adding ...
6
votes
1answer
1k views

finding the long axis of an irregular polygon

Hi need some help in how to find the long axis of an irregular shaped ellipse using ArcGIS. I have found the centroid but don't know how to determine the longest distance.
6
votes
2answers
794 views

ArcGIS Python Tool Script Parameter - Binding Objects to a List Parameter

I am working on a python based script/tool. I would like to make use of drop down lists for several of the parameters. This is very easy to do if the lists are just plain old strings. Does anyone ...
6
votes
1answer
632 views

Interpolation: irregular shape, merging DEM's

my problem is quite complex, though I hope that solution may be simple or at least possible. I do have .img DEM 0.5x0.5m. DEM consists of river bed, river valley and adjacent areas (it is strip of ...
5
votes
1answer
3k views

Use python to add layers to TOC

I've been battling with adding layers to the TOC for some time now. I have managed to single layers added but need to loop through a folder and add all layers. Shapefiles I cannot get to add at all. ...
5
votes
3answers
1k views

How to produce a singlepart featureclass with unique IDs for each spatially non-connected polygon?

What is the best method to convert a singlepart shapefile (i.e. one record that contains several non-connected polygons) into a mutlipart shapefile? --EDIT For clarification the original question ...
5
votes
1answer
522 views

ArcGIS Online without basemap

I am trying to create a Web App, using the ArcGIS Online feature of downloading the javascript code, with the map id being used for connecting to the ArcGIS Online. I was able to do that successfully ...
5
votes
1answer
1k views

Reset local memory in ArcMap 10

I often am unable to delete files due to a lock or need to reset the data frame coordinate system. Very often starting a new session of Arc will allow certain geoprocessing or data management tasks ...
5
votes
2answers
3k views

Removing sliver polygons, ArcGIS 10

I unioned 2 layers into 1 layer, and it created sliver polygons. I used the elimination tool to merge them with neighboring polygons. As as result, it merges all sliver polygons to only one polygon ...
5
votes
3answers
5k views

arcpy.MakeFeatureLayer in-memory layer still exists when subsequent step fails during testing

When I used arcgisscripting to create in-memory output layer with gp.makefeaturelayer, I would put it in a try/except block and delete the gp object in the except piece when the makefeaturelayer would ...
5
votes
1answer
2k views

How to save a layer file with a relative path

In VBA, how do you save a layer file (.lyr) with a relative path? I have some code that loads a shapefile into ArcMap but I am unsure of how I go about using this shapefile to then save a layer file ...
5
votes
2answers
984 views

Is there a performance hit from using a Feature Dataset?

I vaguely remember being taught not to use a Feature Dataset to make things "look neat" in the database, and that the Feature Dataset should only be used when there was some sort of spatial ...
5
votes
3answers
644 views

matplotlib does not work in ArcGIS 10 and Eclipse (Python)

I have installed matplotlib (v. 1.0.1) which works with iPython quite good. But if I insert the same script in ArcGIS 10 or Eclipse 3.7.0 (with PyDev) I get always errors. As I consider to use ...
5
votes
2answers
1k views

Can a “Join” be detected programmatically?

I have some Python code that is launched from within an ArcMap project. Any joins that the user may have created in the project must be removed in order for my code to run. Unfortunately, the code ...
5
votes
2answers
2k views

(New at Python Scripting) Creating a Loop so i can replace text in page layout in multiple mxds instead of one mxd at a time

I found some code on a website that will perform a search and replace on page layout text elements. Currently you can only do it one MXD at a time. I was hoping to change the code so I can do a search ...
5
votes
4answers
297 views

What's new (and useful) in ArcGIS

I've just got access to ArcGIS 10 through my university, and it seems to be far nicer than ArcGIS 9.3. I'm trying to find out what exactly has changed, but the ESRI pages on 'What's new in ArcGIS' ...
5
votes
5answers
4k views

ArcGIS Server 10 on Ubuntu or CentOS?

I know Solaris is on the way out with 10.1 I also know that v10 is only supported on 32bit flavours of RedHat & SUSE. What I do want to know, has anyone had any luck installing it on either ...
4
votes
2answers
492 views

ArcGIS Conflation Tool Recommendation or Custom Script for Comparing Points

Can anyone recommend conflation tools for ArcGIS Desktop (10 or 10.1, paid or free) or a scripting outline / procedure (or just a script) to have a technician efficiently process the following rules? ...
4
votes
3answers
842 views

How to insert a quotation mark through the Field Calculator of attribute table of a Shapefile?

I have a shapefile of polylines with information of diameter. But the problem is that i didn't enter the inch sign(") with the values of diameter. What would be the solution that qutation mark would ...
4
votes
1answer
462 views

Interpolation of Values in ArcGIS

I wanted to interpolate the trend values (trend of sunshine hour calculated over 20 years) throughout the study area from the available station points. My confusion is in the selection of ...
4
votes
2answers
456 views

Data security for GIS Data (Esri shape files,Auto-cad files)

This is regarding security for GIS Data (in Esri & open source) (Esri shape files,Auto-cad files etc.) Does anyone know how to assign a password to or encrypt shapefiles OR CAD Data? I have ...
4
votes
2answers
199 views

Exporting to KML

I'm attempting to export a series of points that cover the continental U.S. as well as some of it's territories to KML. When I export to KML and open it in Google Earth, the data loads in, what seems ...
4
votes
2answers
2k views

Why is Layer missing from Export to PDF?

I am using the arcpy module to loop through a number of map features (community areas), zoom to them, title the map with the name of the community area, and export to pdf. The trouble is that while ...
4
votes
1answer
321 views

How To Calculate Height of Point B?

I have a survey point data which has coordinates X,Y, Height, Angle(Dip),Azimuth, and Depth(Distance). for Example, point A: Easting: 290694 Northing: 715927 Elevation: 1060 Angle: 65° ...
4
votes
1answer
2k views

Delete layer from ArcMap using Python

Problem: I'm trying to loop through all my layers looking for layer named "CADAnnotation". If the layer exists then remove the layer from the mxd Notes: Running from Stand-Alone script (ie. NOT ...
4
votes
1answer
1k views

Move .SHP from .MXD to gdb [duplicate]

Possible Duplicate: How to move SHP to gdb with ArcView license? Let's cut it short, I have numerous mxd with layer coming from .SHP and various servers WMS that I need to move to a gdb. ...
4
votes
2answers
532 views

ArcGIS Spatial Join Options Missing

The ArcGIS SpatialJoin online help page has a long list of match_options when joining data spatially, including HAVE_THEIR_CENTER_IN. However running the arcpy.SpatialJoin_analysis tool in Python ...
4
votes
2answers
2k views

Multiple ring buffer with attributes

Building on ArcGIS: inside buffer with attributes?, I'd like to be able to create multiple ring buffers, while retaining (and possibly dissolving on) attribute values. How can this be done?
4
votes
2answers
392 views

How to efficiently project datasets of varying coordinate systems into one coordinate system?

I am working on streamlining data processing at my organization. Currently we are using various large-scale Models that we will gradually bring into Python. The gist of our data processing is as ...
4
votes
2answers
2k views

For Loop - Map Algebra (ArcGIS) using Python

ORIGINAL QUESTION Im relatively new to python and these fourms but Im am having trouble utilizing for-loops for spatial analyses within ArcGIS. It does not appear to recognize the variable, ...
4
votes
3answers
155 views

How do you navigate the ArcObjects OMDS?

How does everyone get round navigating the different OMD's I can work with single interfaces no problem, but when i have to use multiple interfaces I struggle to get my head round go through different ...
4
votes
1answer
1k views

Modelbuilder - If precondition is false, continue iterating next input

I've built a model in modelbuilder but cannot find an answer to this problem. Please help if you can. Firstly I have an 'iterate feature class' tool drawing inputs out of a folder and then selecting ...
4
votes
2answers
3k views

Arcgis: How to find polygons within a polygon?

I am new to GIS and ArcGIS. I have a problem I need to solve: I have a set of polygons, some of which enclose other polygons. They are lake polygons, and within lake polygons, are smaller island ...
4
votes
1answer
781 views

Edit SDE table with ArcObjects

The link below provides a code snippet for editing an SDE table with ArcObjects. Are there any other or newer code examples out there of how to edit a SDE table by using ArcObjects? Edit SDE ...
4
votes
1answer
599 views

Is it possible to reverse the trend/values of a raster?

For example - if I have a raster DEM covering a stream with higher elevations in the west (up river) and lower elevations in the east (down river) is it possible to reverse this trend so that the east ...
4
votes
2answers
2k views

How can I compare two point shapefiles that contain lat/longs and compute distance?

Greetings everyone, I have 2 sets of point shapefiles in ArcGIS (group A and B), each set has around 1000 entries that contain lat/long. What I want to do is compare Group A against Group B and figure ...
4
votes
3answers
555 views

Defining the appropriate Projected Coordinate System

I am a beginner at ArcGIS and have a technical question. I need to assign a projected coordinate system to my boundary/polygon data in order to calculate square miles. There are many to choose from. ...
4
votes
1answer
1k views

Processing time using ArcGIS Hydrology toolbox tools in standalone Python script vs. ArcCatalog

My question is: what might cause the ArcGIS 9.3 Hydrology Toolbox Snap Pour Point and Watershed tools to run significantly slower in a Python script versus manually running the tools in ArcCatalog ...
4
votes
3answers
2k views

Arcgis server not showing map service

I have a map service enabled in my server and have kml and wms as well as mapping and feature access capabilities turned on. I can view the wms in qgis, I can veiw the kml in google earth. However ...
4
votes
3answers
942 views

Plot files in ArcGIS

I wondered if you could share some of your experience with plot files in ArcGIS. I've been trying to make these, as I have a good expeirence with them from autoCAD (every drawing is exported to a PLT ...
4
votes
5answers
3k views

Problems merging DEMs or other raster datasets? Clipping Raster dataset to vector line?

I have two DEMs that I am going create a hillshade from, and ultimately want one hillshade clipped to a county boundary. I am running into a couple problems, though. When I try to merge the two ...
3
votes
1answer
542 views

Grid registration issue converting from GeoTIFF to ARC ASCII Grid

I've got a 3 arc second digital terrain model represented as a 32-bit GeoTIFF that looks like this: $ gdal_info gom03_v1_0.tif Driver: GTiff/GeoTIFF Files: gom03_v1_0.tif Size is 10200, 7800 ...