Store | Contact Us | Careers
 
  • Home
  • Industries
  • Products
  • Training
  • Support
  • Services
  • Events
  • News
  • About
    • About Esri
    • Careers
    • Esri Video
    • Partners

Support

Search Support
You are here: > ArcScripts > Search Results > Script Details Login | Feedback | Help

Shapes to Points



contact author | download help | report inappropriate content
Author Dan Rathert
File Name shapes2points-v3.zip
Language Visual Basic
Last Modified Sep 14 2004
Status of work Public Domain
Software ArcGIS Desktop
File Size 11.64 kb
Downloads 7645

ArcScripts is intended for the free exchange of scripts and tools related to ESRI software products. Please alert the moderator if this script is a demo, trial-version, or an advertisement for a retail product.


Summary
Formerly known as "Lines to Points" this form driven tool has been generalized to export the vertices of features in the selected point, polygon or line shapefile to a delimited ASCII table. This conversion enables the transfer of shapefile vector point, lines, or polygons to an interchangeable XY flat file format.

For each feature in the shapefile the XY coordinate of each vertex (or point), along with the ID of the parent feature and one additional attribute field (if designated), are written to an ASCII file. If an attribute field is chosen to be included in the export the user may optionally also pick a value for this field to exclude from export. The available values to exclude are dynamically generated from the domain of all values in the shapefile.

Optional output file formatting options determine how the output columns are packaged in the text file. The output file can be space, tab, comma, or bar delimited. Space delimiting is functionally equivalent to columnar format.

9-14-04 Version 3.0 released to work in ArcGIS 9.0. 3.0 is not tested on ArcGIS 8.3 but it should work. (2381)

5-1-03 Added support for point shapefile feature conversion

4-23-03 Installation instructions revised.

3-12-03 The tool has been overhauled considerably from the original so that it now:
*supports line and polygon conversion
*allows dynamic choices of layers, fields and field values
*allows choice of output text file name and path via standard dialog
*includes the actual name of the output field if chosen rather than a generic name

3-6-03 In using this tool I encountered a circumstance that I hadn't thought of originally. When using the output file to generate lines in software that doesn't recognize the ID field (for grouping of vertices within features), if you have two different features with the same Z-value that happen to be consecutively listed in the file they will be interpreted as one continuous line. Nothing I can do to this tool to change that but it is good to be aware of.

ORIGINALLY UPLOADED as "Lines to Points" 2/12/03

-----------------------
Dan Rathert
GIS Programmer/Analyst
Resource Data Inc.
www.resdat.com
drathert@resdat.com
-----------------------
Contact Us | Privacy | Legal | Site Map