[R-sig-Geo] Supplying a datatype argument to rasterEngine in spatial.tools

Jonathan Greenberg jgrn at illinois.edu
Fri Mar 21 17:56:02 CET 2014


Alex:

I am assuming you are talking about outputting something other than a
floating point raster?  It is high on my list of to-dos.  I also want
to make sure I support factors datatypes as well, since the Raster*
format supports them.  I've already started on the basic tweaks I need
to make, but it'll be a bit longer before I get to it. Stay tuned!

--j

On Fri, Mar 21, 2014 at 11:12 AM, Alex Zvoleff
<azvoleff at conservation.org> wrote:
> Thanks Jonathan for the updated version of spatial.tools - very useful
> in my work. Is there way to pass a "datatype" argument (as for
> writeRaster) to rasterEngine to specify the output datatype? I see
> "dataType" linked under "See Also" in the help, but it is not
> otherwise mentioned. I have tried adding it as an argument to
> rasterEngine anyway, but it appears to be ignored. I am running
> spatial.tools 1.3.8 on R 3.0.3.
>
> Thanks,
> Alex
>
> --
> Alex Zvoleff
> Postdoctoral Associate
> Tropical Ecology Assessment and Monitoring (TEAM) Network
> Conservation International
> 2011 Crystal Dr. Suite 500, Arlington, Virginia 22202, USA
> Tel: +1-703-341-2749, Fax: +1-703-979-0953, Skype: azvoleff
> http://www.teamnetwork.org | http://www.conservation.org
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo



-- 
Jonathan A. Greenberg, PhD
Assistant Professor
Global Environmental Analysis and Remote Sensing (GEARS) Laboratory
Department of Geography and Geographic Information Science
University of Illinois at Urbana-Champaign
259 Computing Applications Building, MC-150
605 East Springfield Avenue
Champaign, IL  61820-6371
Phone: 217-300-1924
http://www.geog.illinois.edu/~jgrn/
AIM: jgrn307, MSN: jgrn307 at hotmail.com, Gchat: jgrn307, Skype: jgrn3007



More information about the R-sig-Geo mailing list