Skip to content
Back to formatted view

Raw Message

Message-ID: <7E4C06F49D6FEB49BE4B60E5FC92ED7A04A5AA79@pnlmse35.pnl.gov>
Date: 2006-06-26T22:55:19Z
From: Waichler, Scott R
Subject: Seeking example of making polygons from non-uniform grid

Hi,

I have a rectangular grid with varying cell sizes in the x and y
directions.  I am looking for an example on how to efficiently create sp
polygon objects given a complete description of the grid.  For each
cell, I have coordinates for the vertices and a value (z), which is my
case is a categorical variable.  Previously Roger Bivand suggested how I
could merge contiguous, like-valued cells into a single polygon, but the
example assumed a regular grid with uniform dx and dy.

Thanks for your help,
Scott

Scott Waichler, Senior Research Scientist
Pacific Northwest National Laboratory
MSIN K9-36
P.O. Box 999
Richland, WA   99352    USA
509-372-4423 (voice)
509-372-6089 (fax)
scott.waichler at pnl.gov
http://hydrology.pnl.gov