Questions tagged [arcgis-10.0]

Use this tag when ArcGIS 10.0 is the version you are using from the ArcGIS platform.

Filter by
Sorted by
Tagged with
6
votes
4answers
3k views

Counting number of lines connected to point?

I have a water network which and I need to install elbows and Tees (T). When 2 lines connect to a point, I want to install an elbow, when 3 lines connect, I want to install a Tee. How do I get ...
14
votes
8answers
34k views

Removing 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 ...
12
votes
5answers
12k views

Batch Clipping in ArcGIS Desktop using ArcPy?

I've come across a few similar questions for older versions of ArcGIS, but haven't found a suitable answer for ArcGIS 10. I have two polygon shapefiles that cover a large area (e.g. an entire State/...
11
votes
2answers
46k views

Creating DEM from contours using ArcGIS Desktop?

I have a large set of contours that I received broken down into several different subsets. I have merged most of the subsets together creating a larger set of contours in three different files. I have ...
11
votes
2answers
14k views

Changing data source path involving feature dataset in *.lyr files using ArcPy?

How can one change the source data paths for every layer file in folder X using arcpy? I've followed Updating and fixing data sources with arcpy.mapping as best I can, yet all I get is an unhelpful ...
8
votes
3answers
3k views

Permanently replace/update server/service in each ArcSDE Layer in MXD?

Using the mxd.findAndReplaceWorkspacePaths method, if and MXD is updated and the path the the .sde connection file moves again all of the data sources will break again. Is there a method to ...
9
votes
3answers
3k views

Calculating all distances from single points to multiple polygons [closed]

I have two layers: a point layer defining properties (95 objects), and a polygon layer defining plots of land associated with the properties (211 objects). Each point relates to one or more polygons. ...
9
votes
5answers
15k views

Renaming field using ArcPy?

What I need to do: rename a field name of a table/feature class copy all values to the new field So far I have done following code as @artwork21 suggests: import sys import traceback import arcpy ...
5
votes
2answers
3k views

Use arcpy.mapping to list broken data layers?

I want to list all the broken links in all mxds in a server drive. But whenever I try I get an error come up. Can someone use a specific example, say the drive is D drive, how would I put it into ...
15
votes
3answers
42k views

Removing duplicate features with same geometry in ArcMap?

Is it possible to uniquely identify each geometry in a feature layer? Essentially I have a polygon feature layer with many rows of data represented by the same geometry. I would like 1 row for each ...
10
votes
2answers
5k views

Rotating Features in ArcGIS for Desktop using ArcPy? [closed]

I have a series of polygons that I want to rotate. Each polygon has a rotate angle and an anchor point (xy coordinate) stored as field values. As it happens, all anchor points are on a vertex of ...
7
votes
2answers
11k views

What does 'DBMS table not found' message mean?

I have a plain postgressql table (version 8.2). I am trying to connect to it to it from ArcGIS desktop 10.0, and use as a query layer, as given in this document: http://help.arcgis.com/en/...
5
votes
2answers
10k views

Thiessen Polygon delineation within a Feature

I am trying to create Thiessen (Voronoi) polygons, based on points within a defined shapefile extent. The output should be inclusive to the feature. The output I receive now is the rectangular area ...
3
votes
2answers
8k views

How do I use python to batch process the reprojection of a group of shapefiles?

My client would like his shapefiles reprojected and I would like to get a script that can batch process all the files located in the same folder. I am new to Python and ArcPy but am very interested. ...
3
votes
3answers
3k views

Labeling features and converting them to annotations with ArcPy?

how could I do the following steps with arcpy: right-click on the layer with the features Label Features Convert Labels to Annotations ... The annotions should be saved in a new shapefile. How ...
1
vote
2answers
290 views

Find out which raster has highest values

I have 3 rasters for water use and 1 raster for water supply. I want to know which one has the highest values which will mean that it has the greatest influence on available water supply. What ...
5
votes
1answer
1k views

Automating plan report generation using ArcGIS Desktop? [closed]

i have shapefile that contains a lot of parcels "parcel has like fields (n° parcelle,proprietaire, cin) see picture : and i want for all parcels to generate this plan : take a parcel and generate ...
2
votes
2answers
3k views

Using File Geodatabase with Null values in Field Calculator of ArcGIS Desktop 10.0?

I want to use the field calculator to get the sum of a couple of columns. The problem is that some of them has Null Values. I am not able to find a solution. I tried this Python functions: stack( !...
19
votes
7answers
4k views

Code-completing/auto-completing ArcPy scripts using Notepad++ (external editor)?

I have been scripting in Python for ArcGIS 10, and so far I have just been using Notepad++. I like how the Python command line interface code-completes arcpy functionality for you, showing you your ...
16
votes
3answers
6k views

Using ArcPy to get layer symbology?

Since ArcGIS 10 comes with the ArcPy package, I'm wondering it is possible to use ArcPy functions to get Symbology (i.e color, width...) of a layer?
14
votes
1answer
4k views

Repairing data sources in multiple MXDs using ArcPy?

I have about 50 mxd's with all broken layers that I have been going through and manually resetting. The data was moved from another computer and the folder structure was changed so it isn't just a ...
13
votes
2answers
20k views

Specifications for GIS desktop hardware [closed]

I'm in the market for a new pc/laptop. Judging from what I've seen around here, a lot of people are discussing having a laptop for their personal GIS use. Portability is not an issue for me, so I'm ...
13
votes
6answers
23k views

Removing only donut holes from polygons using ArcGIS Desktop?

I am using ArcGIS Desktop 10.0. I have a trick for removing the donut holes, which is converting the polygon to line and then creating polygon out of the lines and in the end merging all of them. ...
10
votes
2answers
19k views

How to convert Distance, Azimuth, Dip to XYZ?

I have an excel spreadsheet with header and survey drill data. Header data contains hole ID, and location coordinates, and the survey data contains related downhole survey with Distance, Azimuth and ...
11
votes
2answers
7k views

Finding mid-point of line using ArcPy?

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

Creating profile cross-sections in ArcGIS Desktop?

Because the default 'Profile Graph' tool was not sufficient, I wrote a custom VBA script that creates scaled and exaggerated profile cross-sections in ArcGIS but I need more features: Visualize more ...
5
votes
2answers
10k views

Change Symbology of layers from within ArcMap

In an active ArcMap session - I want to change the symbology of a layer which is repeated multiple times in the mxd. Can I do this? The basic code I have for getting the layers is below. This is ...
5
votes
1answer
2k views

Stop ArcGIS model until all values are collected and then merge?

This is similar to Using If precondition is false, continue iterating next input in ModelBuilder? but I want the iterate tool to run to collect all the values and only then continue to the merge. Any ...
9
votes
2answers
6k views

How to calculate stream order for vector data without a DEM? [closed]

I have a shapefile which contains the streams that were digitized from a satellite Image. I would like to calculate the stream order for this data. The data does not exactly match the DEM that I have, ...
9
votes
2answers
9k views

Why Intersect gives ERROR 999999: Error executing function Invalid Topology [Too many lineseg endpoints]?

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 31,...
7
votes
5answers
23k views

Georeferencing CAD files in ArcMap?

I've definitely got at least a couple of grey hairs while trying to convert some dwg. files to shapefiles. I've seen that this subject has been disscused a lot, but hope someone will have the ...
7
votes
1answer
8k views

Using CURRENT map document in Python script tool?

I am attempting to use this code in a tool that I am working on: mxd = arcpy.mapping.MapDocument("CURRENT") df = arcpy.mapping.ListDataFrames(mxd)[0] XMIN = df.extent.XMin YMIN = df.extent.YMin XMAX =...
6
votes
4answers
7k views

Accessing attribute table within shapefile and replace values?

I would like to find a Python script that will access an attribute table within a shapefile and either update or replace records inside a field column. More specifically, I would like to use the ...
6
votes
2answers
12k views

Selecting max value from group using ArcGIS definition query?

In ArcGIS 10 I am trying to do a Definition Query that will select the records that are the max values from a specific group. Here is what I have tried in the Query Builder but I am getting an "the ...
4
votes
1answer
5k views

add definition query to layers in a group

I'm trying to develop a python code that will apply the same definition query to all layers in a specified group. I currently have a working code that will apply a definition query to all layers in ...
4
votes
2answers
4k views

How to assign node IDs to links in a network?

I have two shapefile layers in ArcGIS for Desktop 10. I have one line layer and node layer. My node layer(shp) has a "code_1" field and line layer has a "code_node" field. The intersection point ...
13
votes
4answers
13k views

Will ArcGIS Desktop support latest Python 2.x or Python 3.x versions?

I'm curious to know whether ArcGIS Desktop 10.0 will support newer versions of Python than 2.6. And for that matter newer versions of NumPy (ie, 1.4, 1.5 etc). I'm sure that this documentation is on ...
13
votes
5answers
19k views

Removing feature layer using ArcPy script?

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 ...
11
votes
4answers
12k views

What ArcGIS geoprocessing tools support exporting tabular data to CSV?

I have found that most if not all geoprocessing tools that allow tabular output are limited to geodatabase tables and DBF files for supported output formats. Are there any that also support CSV output?...
9
votes
6answers
17k views

Trouble importing Feature Classes into Feature Datasets

I'm sure there must be a simple reason for this but I can't seem to be able to import a shp file or a feature class from another file or sde geodatabase into a Feature Dataset without getting an error....
7
votes
2answers
603 views

Removing features whose labels are not displayed?

Using ArcMap 10.0, I am working on a map that shows many villages. Each village has a name attribute that I want to use for a label, but in some areas there are so many villages that not all can be ...
6
votes
6answers
4k views

Creating polygons as % of original area using ArcGIS Desktop?

I have a polygon shapefile and need to create new polygons, within the originals, as % of original area. I used buffer by field (Field= new area as %) but the buffers are created in circles around ...
6
votes
2answers
1k views

Is there a way to calculate closest distances to a point without using Near Analysis?

I frequently get asked to calculate distances from a specific point (A drilling well in the middle of the sea for example) to a number of Environmental layers (Protected Areas, Pipelines, Other wells ...
10
votes
3answers
10k views

Creating 9.3 version of geodatabase in ArcMap 10?

Under the What's new for geodatabases in ArcGIS 10 Esri talks about an optional parameter that allows you to create a 9.3 geodatabase in version 10. I cannot find any other info. Any help on how ...
9
votes
2answers
4k views

Are layer files compatible between ArcGIS 10 and 9.3?

If I save layer files in ArcGIS 10, can they be opened and modified in ArcGIS 9.3?
6
votes
1answer
12k views

Setting value of field in all selected rows of table using ArcGIS Desktop?

I have an attribute table in ArcGIS 10 (it's large - around 300,000 elements). I've selected some rows of the table using 'Select by attributes' and I want to set the value of a field for all of those ...
6
votes
2answers
5k views

Changing page layout from portrait to landscape using ArcPy with ArcMap?

I need my script to access the Page Orientation property of the current MXD, and switch it from portrait to landscape (or back). I've looked through the ArcGIS 10 arcpy and arcpy.mapping ...
5
votes
3answers
10k views

Auto-incrementing in Python Script with ArcPy cursor?

I want to autoincrement values in a field within a Python script. I've done this using Field Calculator and the code referenced here. I tried using this code in the Python script below but it is not ...
4
votes
4answers
14k views

Can *.ssf files from Trimble GPS be imported as features to display in ArcMap?

I have not come across *.ssf files before but I believe they are a Trimble GPS binary format. Someone has asked me if these files which he thinks have line/poly features can be imported for display ...
4
votes
1answer
10k views

ReClassify Vector Data Between Values using ArcGIS Desktop?

I would like to be able to take all values between 1 and 10 and have a field define them as 1, and all values between 10 and 20 and set them to 2, how do I do that with vector data? I read how to set ...