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

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 “,”.