Learn R Programming

rangeMapper (version 0.0-4)

global.bbox: Global bounding box

Description

Computes, sets or retrives the global spatial bounding box.

Usage

global.bbox(shpFiles, check.proj)
	global.bbox.save(shpFiles, con)
	global.bbox.fetch(con)

Arguments

shpFiles
range file location on disk as retrived by selectShpFiles
check.proj
If FALSE, the default, the proj4 string of the 1st range file will be saved to the database. If TRUE the proj4 string of every range will be checked and the function will stop and given an error if more than one proje
con
A valid sqlite connection.

Details

global.bbox computes the global bounding box of the selected files. global.bbox.save saves the global bounding box to the metadata table toghether with the proj4 string.

See Also

rangeMapper for a complete example. proj4string bbox