[R-sig-Geo] deldir package

Roger Bivand Roger.Bivand at nhh.no
Wed Jun 27 12:13:47 CEST 2007


On Tue, 26 Jun 2007, Kitty Lee wrote:

> I used deldir to generate voronoi but it seems that I can only specify 
> rectangular window for the rw option. Is there a way the system can take 
> in non-rectangular polygon as study area?

No, only rectangular windows are permitted. You could try a large window, 
and then code using templates in maptools to use the gpclib intersect 
function to cookie-cut the external polygons. At least deldir does permit 
polygon closure within the rectangle.

Roger

>
>
> K.
>
> ---------------------------------
> Don't get soaked.  Take a quick peak at the forecast
>
> 	[[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>

-- 
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveien 30, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: Roger.Bivand at nhh.no




More information about the R-sig-Geo mailing list