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

Points to Lines



contact author | download help | report inappropriate content
Author Dan Rathert
File Name points2lines-v21.zip
Language Visual Basic
Last Modified Sep 13 2004
Status of work Public Domain
Software ArcGIS Desktop
File Size 11.16 kb
Downloads 15795

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
Form driven tool to convert a DBF of X Y & ID values to a polyline shapefile. Polylines are generated and assigned the ID of the points that were used to construct them. The ID can then be used to relate back to other tabular information if desired.

Within each ID grouping, the rows/points must be in the order in which you wish to connect them in the output line.

Option to generate line fragments where each pair of consecutive points with the same ID are a seperate feature, or to generate merged lines where all consecutive points with the same ID are used to construct one continuous line feature.

The input column names are dynamically selected in the form and the ID field can be a string or any numeric type. The output shapefile will have an “ID” field with the same name and type as found in the input DBF file.

Verison 1 of this tool attempted to utilize a delimited text file rather than a DBF table and, although it did work, it was much less dynamic and flexible than Version 2. To convert a delimited text file to a DBF file I suggest using ArcMap. Add a text file with supported delimiters (tab or comma, or see also text, files in the ArcMap help for additional options) as a table or as an event theme, then right-click on the layer in the TOC and choose Data > Export Data… and export the tabular information to a DBF. You can also accomplish this task using MS Excel but be aware of that Excel will not support more than 65536 rows and so will truncate longer tables.

See Points to Lines-v2.doc for installation instructions.

If you want the old version email me and I'll send it to you or post it again.

NOTE:

9-13-04 Version 2.1 bug "Property OleObjectBlob in frmPoints2Lines had an invalid file reference" is fixed. Basic testing in 9.0 and 8.3 successful. (2986)

8-23-04 Version 2.1 released to work in ArcGIS 9.0. 2.1 not tested on ArcGIS 8.3 but it should work. (2857)

4-17-03 Verison 2 uploaded (342)

2-25-03 ORIGINALLY UPLOADED

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