Accurate_ClipLineSFWithPolygon

Syntax

Accurate_ClipLineSFWithPolygon(ref MapWinGIS.Shapefile lineSF, ref MapWinGIS.Shape polygon, ref MapWinGIS.Shapefile resultLineSF, bool copyAttributes)

Summary

Given a line shapefile and a polygon, this function will find the portions of each line that lies within the polygon and save it in memory to resultLineSF.

Parameters

Name Description
lineSF The line shapefile to be clipped by the polygon.
polygon The polygon that might contain portions of one or more lines.
resultLineSF The shapefile that will hold the newly clipped lines.
copyAttributes True if copying Attributes

Returns

False if an error was encountered, true otherwise.

Last edited Jan 1, 2011 at 3:24 PM by gngdowid, version 1

Comments

No comments yet.