Geospatial Modelling Environment

convert.linestopoints (Convert Lines To Points)

Converts lines (polylines) to points by extracting the vertices of the polylines


This tool converts the lines (polylines) in a polyline data source to points in a new or existing point data source by extracting all of the vertices that define the polyline. This works with multipart polylines. The unique polygon ID is written to the point attribute table. Note that the resulting points will overlap where two line vertices have the same coordinates (this algorithm does not simplify the resulting point data to remove points where there is precise overlap).


convert.linestopoints(in, uidfield, out, [where]);

inthe input line data source
uidfieldthe unique ID field of the input feature data source
outthe output point data source
[where]the selection statement that will be applied to the feature data source to identify a subset of features to process (see full Help documentation for further details)


convert.linestopoints(in=”C:datarivers.shp”, uidfield=”RIVERID”, out=”C:datariverpoints.shp”);

convert.linestopoints(in=”C:dataroads.shp”, uidfield=”RDID”, out=”C:datardpoints.shp”);


Please consider making a purchase to support the continued development of these tools  Read more...

Tips on how to use this interface efficiently 


Open Source GIS

Copyright © 2001-2014 Hawthorne L. Beyer, Ph.D., Spatial Ecology LLC    Connect on LinkedIn