MapWindow Home
Search MapWindow.org


  • Home
    • Download
    • Why MW
    • FAQ
    • Contact
  • Products
    • MapWindow
    • ActiveX
    • Plug-ins
  • Software Dev
    • Sample Code
    • Scripts
    • Source
    • Bugs
    • Support
    • Languages
  • Site Tools
    • Forums
    • Tutorials
    • Mailing Lists
    • Team
    • Site Stats
    • Links
  • Get Stuff
    • Buy a CD
    • Buy a T-Shirt
    • MW Book
    • ActiveX Book
    • Donate
    • Buy Support
  • Documentation
    • MWGIS App. User Guide
    • GISTools User Guide
    • MW Plug-ins Dev. Guide
    • MWGIS ActiveX Dev. Guide
    • MWGeoProc Dev. Guide

MapWinGeoProc:ClipLineSFWithPoly

From MapWindow GIS

Jump to: navigation, search

ClipLineSFWithPoly

Summary

ClipLines defines internal functions for clipping lines with polygons.

Functions

ClipLineSFWithMultiPartPolygon Clips all lines in the shapefile using a multi-part polygon.
ClipLineSFWithMultiPartPolygon Clips all lines in the shapefile using a multi-part polygon.
Fast_ClipLineSFWithPolygon Finds all portions of the lines that lie within the polygon and returns them in
the shapefile resultSF.
Fast_ClipLineSFWithPolygon All portions of lineSF within the polygon are found and saved in memory to resultLineSF.
Fast_ProcessPartInAndOutPoints Divides a line containing both inside and outside polygon points into multiple 2pt segments.
Calculates intersecetions and finds the portions of the line that are within the polygon.
Accurate_ClipLineSFWithPolygon Given a line shapefile and a polygon, this function will return only the
portions of the lines that lie within the polygon.
Accurate_ClipLineSFWithPolygon 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.
ProcessAllInsidePoints For lines where every point lies within the polygon, this function will
find if a 2pt segment crosses outside of the polygon and then adds only the
internal segments to the result file.
ProcessAllOutsidePoints For lines where every point lies outside the polygon, this function will
find if any 2pt segment crosses within the polygon and then adds the
internal segments to the result file.
ProcessPartInAndOutPoints For lines where part of the line lies within the polygon
and part of it lies outside, this function will save only
the inside portions and intersection points to the result shapefile.

Back to MapWinGeoProc

Retrieved from "http://www.mapwindow.org/wiki/index.php/MapWinGeoProc:ClipLineSFWithPoly"
Views
  • Page
  • Discussion
  • View source
  • History
Personal tools
  • Log in / create account
  • What links here
  • Related changes
  • Upload file
  • Special pages
  • Printable version
  • Permanent link

Geospatial Software Lab

Copyright © 2008 - MapWindow Open Source Team
( last updated: September 04 2008.)
Home | Donate | Download | MapWindow GIS Desktop | MapWinGIS.ocx | Plug-ins | Contact | Lists | Bugs | Sample Code | Documentation
Code Repository | Open Source License | Discussion Forum | Wiki | Join the Team | Site Statistics | Links