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:ClipGridWithPoly ClipGridWithPolygon

From MapWindow GIS

Jump to: navigation, search

ClipGridWithPolygon

Syntax

 bool ClipGridWithPolygon(ref string inputGF, ref MapWinGIS.Shape poly, ref string resultGF, System.Boolean clipToExtents)

Summary

Creates a new grid containing data from the input grid that
falls within the polygon boundary.

Parameters

inputGF Full path to the input grid file.
poly The 2D polygon used for clipping the input grid.
resultGF Full path to where the resulting grid will be saved.
clipToExtents True if clipping to polygon extents rather than actual polygon shape.

Returns

True if clipping was successful, false if an error occurs.

Visual Basic Net 2005 Example Implementation Code
Visual C# 2005 Example Implementation Code
Back to ClipGridWithPoly

Retrieved from "http://www.mapwindow.org/wiki/index.php/MapWinGeoProc:ClipGridWithPoly_ClipGridWithPolygon"
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: November 12 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