|
Re: raster to polygons: msg#00079lang.r.geo
On Wed, 31 May 2006, didier leibovici wrote: > Hi, > I can't find a function allowing to transform a raster grid to a polygon > 'shapefile' (sp class or other) Could you look in the sp package at: ?as.SpatialPolygons.GridTopology and see if it does what you need (for coarse grids)? It only makes rectangular polygons, if you need to merge polygons based on an attribute value, that can be done too, quite inefficiently, but it works. Roger > thanks > > -- 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@xxxxxx
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Computing polygon area with decimal degree coordinates, Roger Bivand |
|---|---|
| Next by Date: | Re: raster to polygons, Ari Jolma |
| Previous by Thread: | raster to polygons, didier leibovici |
| Next by Thread: | Re: raster to polygons, Ari Jolma |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |