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) [EMAIL PROTECTED] http://hydrology.pnl.gov _______________________________________________ R-sig-Geo mailing list R-sig-Geo@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo