[R-sig-Geo] downsampling a lines shapefile?

Hadley Wickham hadley at rice.edu
Wed Oct 26 06:14:48 CEST 2011


>> I have a shapefile with a number of line features.  I can load it and plot
>> it.  Is there an easy way to downsample or smooth the shapefile to a coarser
>> resolution?
>
> ?gSimplify in rgeos?

Is there a reason that gSimplify doesn't default to a topology
preserving simplification?

Hadley

-- 
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
http://had.co.nz/



More information about the R-sig-Geo mailing list