Monday, 24 April 2017

Geoprocessing

Documents

Order by : Name | Date | Hits [ Ascendant ]

Generate Polygons from Points, Azimuth and Radius Generate Polygons from Points, Azimuth and Radius

hot!
Date added: 03/29/2010
Date modified: 05/04/2010
Filesize: Unknown
Downloads: 1831
Take a point shapefile containing a From Azimuth, a From Radius, A To Azimuth and a To Radius and generates the resulting polygon.

 

The Polygon is by the shape along with the arc that is made up of the angles between the From and To Azimuth and Radius.

The From and To Azimuth and Radius attributes are stored as attributes in the original point shapefile.

Attributes from the point feature class are copied across to the resulting polygon feature class.

Finding ALL shapefiles with an unknown spatial reference Finding ALL shapefiles with an unknown spatial reference

hot!
Date added: 03/29/2010
Date modified: 05/04/2010
Filesize: Unknown
Downloads: 1613
This tool Recursively searches through the filesystem for all shapefiles that have an UNKNOWN Spatial reference.

 

it is useful for batch projecting and not all shapefile input have a projection defined causing the project to terminate unexpectedly.

File Geodatabase Zipper For ArcPy File Geodatabase Zipper For ArcPy

hot!
Date added: 06/10/2011
Date modified: 06/10/2011
Filesize: Unknown
Downloads: 1869
This is a tool for archiving and backing up file geodatabases.

 

The Windows inBuilt zip function does not work for file geodatabase and folders with special characters in the name.

The input parameters are a file geodatabase (.gdb extension) and a folder to store the zipped up file geodatabase.

An output zip file is created in this archive directory. It is the same name as the file geodatabase but also suffixed with the date of the day it is run.

See the attached tool documentation for more details.

Susan Jones

Spatial Logic Ltd
Auckland
NEW ZEALAND

Extract CAD Layers to shapefiles Extract CAD Layers to shapefiles

hot!
Date added: 03/29/2010
Date modified: 05/04/2010
Filesize: Unknown
Downloads: 1935
Find 3 tools to separate CAD layers into shapefiles based on the layer name. These tools work from within ArcCatalog or ArcMap.

 The first step is to take the CAD file and convert it into an output staging geodatabase.

Tool(s) cycle through all features for a particular feature type (point, line or polygon) and extracts them into shapefiles based on their layer name.

At the end of [rocessing, there is an additional tool to go ahead and bulk assign the spatial reference for all shapefiles that have been derived from the input CAD file.

Shapefiles are prefixed with either "ln_", "pt_" or "poly_" to inidcate their shapetype of either line, point or polygon.

Beats having to perform this manually in ArcMap and making selections from display tables.

I have set the tool up so it can be easily modified to run in ArcGIs 9.2. It has been tested on arcGIS 9.2 pre release and is working at this point.

To install:
1. Open up ArcMap
2. Open the toolbox
3. Right click on the root of the toolbox and select the Add Toolbox option
4. Navigate to the tbx file that was in the zip file. "zzz SMJ Toolbox" will now be an additional toolbox.
5. Expand the toolbox to see the available tools.
6. Right click on each tool, select properties and then the source tab.
7. Navigate to the python file for the python tool. Names should be fairly easy to distinguish.
8. Once the python scripts have been assigned to the tool it should be ready to run.

Each tool has 3 parameters. Going from top to bottom in the list these are:
i. Folder type - the folder to write the output staging geodatabase
2. Cad file type - The Cad file for conversion
3. Folder type - the folder in which to write the output shapefiles

I have duplicated the scripts to support the change in the geoprocessing model at ArcGIs 9.2. Scripts compatible at ArcGIS 9.2 have a 92 tacked on to the end of the filename. Scripts that will works At ArcGIS 9 releases prior to ArcGIS 9.2 releases will not have this 92 tacked on.

Export Selected Rasters from an Image Catalog Export Selected Rasters from an Image Catalog

hot!
Date added: 03/29/2010
Date modified: 05/04/2010
Filesize: Unknown
Downloads: 1632
The purpose of this tool is to export a selected set of imagery out of a Geodatabase Managed Raster Catalog into a set of tiff files.

 

Each geodatabase level of raster catalog is supported - from Personal Geodatabase through to ArcSDE Raster Geodatabase.

There is a toolbox to represent both ArcGIS 9.2 and also ArcGIS 9.3 deployment.

The selection can either be based using the SQL Constructor or else from rasters from the Name field of the raster catalog.

There is attached documentation in a word file and also an example of a selection file.

Page 2 of 5
python-logo50
GeoData
logotagline50

spatialiq

email: info@spatiallogic.co.nz | phone: +64 9 636 2010 | mobile: +64 21 639 793

Follow Us