[R-sig-Geo] jitter within polygon

Paul Lantos paul.lantos at duke.edu
Sat Jan 28 06:29:40 CET 2017


I am trying to figure out how to randomly jitter points within an overlying polygon structure.

I can easily jitter the points themselves, but I would like this to be constrained by the boundaries of polygons containing the points.

This isn't for visualization - I can do that easily enough in GIS. I actually need to generate coordinates.

Thanks,
Paul

Paul M. Lantos, MD, MS GIS, FIDSA, FAAP, FACP                       Contact
Departments of Internal Medicine and Pediatrics                           919-684-6355 (Pediatric Infectious Diseases)
    Pediatric Infectious Diseases                                                                919-681-8263 (Hospital Medicine)
    General Internal Medicine                                                                    paul.lantos at duke.edu
Duke University School of Medicine                                                     @PaulLantos
Duke Global Health Institute


	[[alternative HTML version deleted]]



More information about the R-sig-Geo mailing list