[R-sig-Geo] spatial.tools 1.4.8 now on CRAN

Jonathan Greenberg jgrn at illinois.edu
Thu Jul 3 00:51:05 CEST 2014


Folks:

I released a new version of spatial.tools on CRAN (it should be making
its rounds via update.packages() in the next 24 hours).  In addition
to the requisite bug squashing, here are some the major new
features/functions:

rasterEngine/focal_hpc:
- new parameter: "datatype" -- will now output files using a
user-specific datatype (e.g. you can now select integer outputs
instead of being forced to use floating point).  Check ?dataType in
the raster package for a list of possible datatypes.
- new parameter: "clearworkers" (TRUE by default) -- once rasterEngine
is complete, it will now "flush" any parallel workers registered with
foreach (recovering memory).  If you have any issues with this
function, disable it by setting to FALSE and please let me know!
- Useful bug fix: you should get an ENVI header corresponding to the
output file before rasterEngine begins its main processing run, so you
can monitor the output in semi-real time by simply opening the output
file in your favorite GIS program (black stripes are
yet-to-be-completed regions).

New functions:
- raster_to_GLT: Creates a geometry lookup (GLT) file from a raster (a
two-band brick where the pixel values for the first band are the
column numbers, and the pixel values for the second band are the row
numbers of the corresponding pixels in the input Raster* file)
- raster_to_IGM: Creates an input geometry (IGM) file from a raster (a
two-band brick where the pixel values for the first band are the
geographic x-coordinates, and the pixel values for the second band are
the geographic y-coordinates of the corresponding pixels in the input
Raster* file)

As always, if you come across any bugs let me know!

--j

-- 
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