Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [arcgis-10.0]

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

12
votes
1answer
8k views

“Field Mapping” in ArcGIS 10 - ArcPy

I've wrote a Python script that does a spatial join and some simple calculations. My problem is with setting the merge rule for one specific field, and leaving the rest of the fields as is. For ...
12
votes
2answers
13k views

Measuring performance difference between Merge and Append in ArcGIS Desktop?

Often I find myself in a situation where I don't care whether or not my tool produces a new feature class, but I do care how long it takes to combine all of my large datasets. Does it take longer to ...
12
votes
1answer
735 views

Running ArcGIS 10.0 Under Virtualenv

I am working on a Python package that has a mixture of command line tools and ArcToolbox tools. For Python development it is really useful to use VirtualEnv, especially when working with installers. ...
12
votes
1answer
9k views

How do you view multiple tables at the same time in ArcMap 10?

My original question was: How do you undock the tables in the ArcMap attribute window? because that's how I thought it should work in the new ArcGIS 10 docking environment. Either it isn't ...
12
votes
2answers
8k views

Making button that calls Python script as command rather than script tool?

I believe that in Arc9.3, commands could be created using VBA scripts. To add a custom command, you would navigate to Customize > Toolbars > Customize... and click UIControls. However, UIControls is ...
12
votes
1answer
775 views

Stop ArcMap from probing missing data sources on launch

When migrating a map from one environment to another (say, from an existing client environment to our development environment) we're often given MXD documents that represent the map. These documents ...
12
votes
3answers
2k views

Grouping corner-touching contiguous polygons using ArcGIS Desktop?

Using ArcGIS 10, I have a Feature Class which I converted from a Raster (GRID) (Raster To Polygon Tool). There are approx. 180,000 polygons. The attribute table contains a [grid_code] field which I ...
11
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
7answers
9k views

Creating shapefile from current dataframe extents in layout view of ArcMap?

Where is the ArcGIS 10 tool for creating a shapefile from current dataframe extents in layout view? Have looked around and the closet thing i can find is Toolbox's Grid/Strip Map Index tools under ...
11
votes
2answers
9k views

Listing feature classes in multiple geodatabases in folder using ArcPy?

I have a folder with numerous geodatabases in it. Within the geodatabases are feature classes. I would like to get a list of the feature classes in these geodatabases using a Python script. I've only ...
11
votes
4answers
14k views

ArcGIS fails to import all records from huge CSV file to file geodatabase table despite being within FGDB table size limits

I'm using ArcGIS 10.0 on Windows 7 64-bit with 4GB of RAM. I have some very large tables in CSV format to import to ArcGIS, they all have about 30 fields, upwards of 5 million records per table (a ...
11
votes
5answers
7k views

Getting full path of layer selected in drop-down box for ArcGIS Python script tool?

I have a Python script-based tool in ArcGIS. One of the parameters for the tool is an input raster file, which I've set (using the properties of the tool within the toolbox) to be a Raster Layer. This ...
11
votes
3answers
9k views

Best method to aggregate 1m DEM mosaic to 10m DEM

I have a mosaic of a 1m LiDar derived DEM. I need to output a subset of the data as a 10m DEM. I am currently using the aggregate tool in ARCGIS 10 to produce a mean value for each new 10m pixel. ...
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?...
11
votes
3answers
707 views

Searching many feature datasets for ArcSDE feature classes using field filters in ArcCatalog?

I have ~30 feature datasets and ~100 feature classes spread throughout the feature datasets. I would like to search for a feature class by name among the feature datasets. Also, I would like to ...
11
votes
5answers
7k views

Splitting polygon with line using ArcPy?

In looking at Buffering with physical barrier using ArcGIS for Desktop?, it occurred to me that I am not sure how one would go about using geoprocessing tools in ArcGIS to split a polygon with a line ...
11
votes
2answers
1k views

Computing new attribute based on changes in another attribute using ArcGIS Desktop with Python?

I am attempting to classify a set of gps time-encoded point data into behaviors based on different attributes. I have created an attribute that is 0 for home and 1 for away based on location, and ...
11
votes
2answers
27k views

Extracting by Attribute Using ModelBuilder with User Input?

Using ModelBuilder, I want to create a tool that will let a user choose the value or values that will be used to extract a shapefile. I have a parcel layer with a "Parcel_Type" field. I want the user ...
11
votes
1answer
7k views

How to force ArcGIS to recognize a text field in a CSV file?

Related to Data-type detection in ArcGIS table loading I have a CSV file which contains a mixture of numeric and text fields: ID,Txt,Int,Dbl 12345,abc,45,56.78 12346,9,65,23.12 12347,10,66,23.13 ...
11
votes
1answer
7k views

Move Polygons with snap from edge to edge

I have such a basic question, but can't find any solution. I have some hundred rectangular Polygons and want to move them to other, already existing Polygons. The borders of these polygons should ...
11
votes
5answers
9k views

Activating custom ITool from form without adding it to ArcMap AddIn toolbar?

I'm working on an add-in for ArcMap 10.0 that adds a toolbar to ArcMap. One command (OpenModelessDialogCommand) button on that toolbar opens a modeless WinForms dialog, from which a tool (MyTool) can ...
11
votes
3answers
10k views

Adding dynamic text to layout from attribute table with Data Driven Pages?

I was trying to figure out how to use dynamic text from an attribute table in a collection of Data Driven Pages in ArcGIS 10. I've looked in the help files, but can't find anything on dynamic text ...
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 ...
11
votes
2answers
2k views

Creating line (closest vertex to line) using ArcGIS Desktop?

I'm using ArcInfo 10 SP3. I am working in reorganising our utility data. Two years ago, we have started collecting Private Service water line. We still have a lot of them to extract from old ...
11
votes
2answers
45k views

Creating a dem from contours

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
3answers
7k views

How to split a line into a set of equidistant points

Used to rely on XTools for this, but in my current environment, I don't have access to it. I'm trying to do this in ArcMap10. The goal is to break a line representation of a stream into a set of ...
11
votes
4answers
6k views

ArcGIS Python SearchCursor file locking?

I have a script that gets a value from a shapefile's field to return to the user. It seems that only when the arcpy.SearchCursor is called ArcMap 10.0 locks the file and it doesn't get removed ...
11
votes
2answers
2k views

What happens to feature class when importing to feature dataset?

I am creating a model that needs to ensure that all input datasets end up in the same coordinate system (among other things). I was originally going to batch project all of the datasets whether they ...
11
votes
2answers
4k views

Create metadata for multiple datasets simultaneously in ArcGIS 10

I am trying to find a way to create metadata through Arc Catalog for multiple datasets simultaneously. I'm working within a file geodatabase, which composes of multiple feature classes and rasters. ...
11
votes
4answers
19k views

Making one part polyline from multipart polyline?

I have a polyline which is divided into multiparts and these parts are not well ordered so that the vertex's ID are not following the polyline's plotting. This polyline is a representing a bus line ...
11
votes
4answers
13k views

How to release the lock on a gdb?

I have problems to release my gdb in ArcGIS10. My tool works with an local gdb, but I failed to release it after the process. In Ag9.3 I can release it simply by Marshal.ReleaseComObject(workspace), ...
11
votes
1answer
5k views

Python Script to Create Table Using Data Driven Pages

I am trying to convert some python script to display a table (based on a dbf) of features located within a specific data driven page. So far, I have the script successfully able to refresh the map to ...
11
votes
1answer
3k views

Exit script with Python

I've got a Python script for ArcGIS that I'm working on, and I'd like to have the ability to have the script quit if it doesn't have the necessary data available. I tried a straight up sys.exit() but ...
10
votes
6answers
13k views

Moving / offsetting point locations using ArcPy or ModelBuilder?

I have a number non-georeferenced CAD layers (see this question) that have text annotation features. I have created a model to convert the text to points, but after converting the annotation to a ...
10
votes
4answers
41k views

Cutting features to do opposite of clipping in ArcGIS Desktop? [duplicate]

What´s the easiest/smartest way of getting the opposite output of the clipping tool? I just need the area of feature A1 which is not covered by feature A2 in a new Layer/File. Now, I get the result ...
10
votes
7answers
36k views

Where is Angle Measure Tool in ArcMap?

Where is the Angle Measure Tool in ArcMap 10? I can't seem to find it.
10
votes
3answers
20k views

Creating shapefile from lat/long values using ArcPy? [closed]

How can I create a shapefile using Python in ArcGIS 10? I have lat & long. From this I need Python code which will create a shapefile in ArcGIS Desktop 10.
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 ...
10
votes
6answers
19k views

ERROR 000212: Cannot create XY event source Failed to execute (MakeXYEventLayer)?

I have a csv file that is 133mb in size and has over 1.3 million lines of data. Each line of data has its own lat/long and I was wondering what would be the best way to display those points based off ...
10
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
3answers
29k views

Merging adjacent polygons using ArcGIS Desktop?

I want to use ArcGIS Desktop to merge adjacent polygons with each other. There is no common field between the polygons and hence the Dissolve tool is not the ideal solution. The polygons that I want ...
10
votes
1answer
2k views

Can ArcGIS Desktop 9 and 10 co-exist peacefully on same computer?

We have a copy of Hawths tools that only work in ArcGIS 9.3, so I would like to keep it on my computer. However, most of the work we do in our lab is done with ArcGIS 10. Therefore, would it be OK to ...
10
votes
4answers
2k views

To what extent is SQL's language accessible via ArcGIS tools?

That question just sounds so redundant... At any rate, I have been asked to explore the uses of SQL in ArcGIS. We use an SDE DB for all server-side storage and DB managing/large-scale editing. However,...
10
votes
3answers
11k views

Creating button in ArcMap to run Python program?

I have a script that I want to run within ArcMap when a button in a toolbar is clicked, and so far I have only been able to make the script into a script tool. I need it to run as a command, not as a ...
10
votes
7answers
71k views

Extracting raster DEM elevations to vector attribute tables in ArcGIS Desktop?

I have an ArcMap 10 project with multiple layer groups. One layer is a raster DEM, another layer group is a bunch of vector shapefiles (including points, lines and polygons). The client wants all ...
10
votes
2answers
3k views

Is there a ArcGIS python script development API?

I'm a somewhat experienced software engineer new to the GIS world. I started working on a GIS project that supports ArcGIS 9.3 and 10.0 and looking through existing code it looks like the main ...
10
votes
1answer
573 views

What is ArcSDE API used for?

To create applications that manipulate ArcObjects there is the VBA and Java runtimes. To create application that process data with ArcToolbox tools, there is ArcPy for Python. Today, I discovered ...
10
votes
3answers
5k views

How to reclassify a very large land cover dataset?

Consider the NLCD2001 Land Cover dataset for Alaska (download link). I need to reclassify this dataset so that only pixels of value 41, 42, and 43 are preserved; all other pixel values should become ...
10
votes
2answers
4k views

Finding centre point of a raster in ArcGIS?

If I have, say, a rectangular and georeferenced raster file loaded in an ArcMap 10 document (.tiff w/ associated tfw), how do I easily find its centre point and store that point in a points vector ...
10
votes
2answers
18k 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 ...