[R-sig-Geo] error in trmesh (alphahull package)

2009-04-03 Thread Murray Richardson
Hello R community, I have cross-posted with r-sig-geo as this issue could fall under either interest group I believe. I just came accross the alphahull package and am very pleased I may not need to use CGAL anymore for this purpose. However, I am having a problem computing alpha shapes wit

Re: [R-sig-Geo] rasterize shape file and output as .img

2009-04-03 Thread milton ruser
Hi Roger, I think I am making something wrong (see the error message, please). reser is the polygon object that I read from a shapefile. Thanks for your time. milton > class(reser) [1] "SpatialPolygonsDataFrame" attr(,"package") [1] "sp" > head(re...@data) DOCNAME area_ha ClassCove

[R-sig-Geo] County-level map of the US

2009-04-03 Thread Smith, Phil (CDC/CCID/NCIRD)
Hi R-sig: I'm just an old guy and new to this list... But have been using R for years now. I want to make a map of couties in the US with shaded colors that depend on the level of variable "Y" that I want to map. I have the US county and state fips codes and the Y variable. How do I do this?

Re: [R-sig-Geo] rasterize shape file and output as .img

2009-04-03 Thread Roger Bivand
On Fri, 3 Apr 2009, milton ruser wrote: Dear all, I have a set of shapefile and I need rasterized it using a collumn called ClassCover, and with the resolution of 30 meters. How can I do this on R? Use bbox() of the SpatialPolygonDataFrame to find the extent. Create a GridTopology object, an

[R-sig-Geo] rasterize shape file and output as .img

2009-04-03 Thread milton ruser
Dear all, I have a set of shapefile and I need rasterized it using a collumn called ClassCover, and with the resolution of 30 meters. How can I do this on R? Another thing is that I need to output the raster as IMG (erdas/arcgis) format. Any help are welcome. Best wishes, milton Brasil/Toronto

Re: [R-sig-Geo] statistical tests under spatial autocorrelation

2009-04-03 Thread Corey Sparks
Jim, Look at the spdep package for several regression methods that incorporate spatial dependence and structure. CS Corey Sparks Assistant Professor Department of Demography and Organization Studies College of Public Policy One UTSA Circle San Antonio, TX 78239 corey.spa...@utsa.edu _

Re: [R-sig-Geo] Write GeoTiff with color table

2009-04-03 Thread Paul Hiemstra
Paul Hiemstra schreef: Ned Horning schreef: Hi - Is it possible to output an Indexed (single band byte image) GeoTiff using a predefined look-up-table in R? For now I output a byte GeoTiff file from R and then import it into GRASS, create a color table, and then export that as a colored GeoTif

Re: [R-sig-Geo] Write GeoTiff with color table

2009-04-03 Thread Paul Hiemstra
Ned Horning schreef: Hi - Is it possible to output an Indexed (single band byte image) GeoTiff using a predefined look-up-table in R? For now I output a byte GeoTiff file from R and then import it into GRASS, create a color table, and then export that as a colored GeoTiff. That works fine but

[R-sig-Geo] Write GeoTiff with color table

2009-04-03 Thread Ned Horning
Hi - Is it possible to output an Indexed (single band byte image) GeoTiff using a predefined look-up-table in R? For now I output a byte GeoTiff file from R and then import it into GRASS, create a color table, and then export that as a colored GeoTiff. That works fine but it would be nice to be