GRASS GIS Modules

Tiling, Web Map Servers, Multiple File Import

About

These modules are all related to taking a region with a desired resolution, finding managable sized pieces ("tiles") in another projection, getting those pieces, importing the tiles, projecting them into the original projection, and patching them back together.

r.in.wms

This program handles all of importing raster data from an OpenGIS "WMS" web mapping server. It need only be told the desired data to collect (bounds and resolution) via a region, either the current one, or, preferably, a named region, the server to get the data from, and the layer or layers to get. It downloads the data in tiles, imports it, reprojects it, and patches it back together.

By default data is downloaded to $GISDBASE/wms_download. This can be changed by setting the folder= option when using r.in.wms. By default r.in.wms will make locations named things like wms_EPSG4326 to import data. This can be changed by setting up the source location yourself and using the location= option.

This program needs r.tileset, wms.request, wms.download, and r.in.gdalwarp to work. They all must be executable and in PATH. You can download all of them as a bundle.

Examples

r.tileset

This program generates sets of tiles in another projection that cover the current region or a named region in this projection with adequate resolution. It does not currently make "optimal" tilings (as few tiles of the largest size less than the maximums).

Examples

wms.request

Builds requests and world files for downloading data from WMS servers.

wms.download

Uses wget to do multiple POST method downloads.

r.in.gdalwarp

A batch gdal import tool. Requires gdalwarp. Warps all of the files listed with gdalwarp, imports them into the current location, and patches them together.

r.in.proj.gdal

A batch gdal import tool. Imports all of the files listed into the named location, projects them into the current location (the current region affects projection), and patches them together.

Vector Reclassification

v.group

v.group, works similarly to v.reclass, but will reclassify on multiple columns of different types.

Examples

Contact Information

Cedric Shock: