Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


BIRDS (version 0.2.0)

gridAsString: Convert a grid into a web query string.

Description

Converts a grid (or any SpatialPolygon for that matter) into a web query string.

Usage

gridAsString(grid)

Arguments

grid

an object of class ‘SpatialPolygon-class’ or ‘SpatialPolygonDataFrame-class’.

Value

a character string with coordinates separated by “%20” and pairs by “,”.