espa_inventory_grid2ll: espa_inventory_datasets

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

R wrapper for USGS/EROS Inventory Service Dataset Grid to Lat/Lng API.

Usage

1
espa_inventory_grid2ll(gridType, responseShape, path, row, verbose = F)

Arguments

gridType

Character. Identifies the grid system Accepted values: "WRS1" and "WRS2".

responseShape

Character. Determines if the response should be a center point or outer polygon Accepted values: "point" and "polygon"

path

Numeric. WRS Path.

row

Numeric. WRS Row.

verbose

Logical. Verbose execution? Default=F.

Details

This method is used to convert the following grid systems to lat/lng center points or polygons: WRS-1, WRS-2. To account for multiple grid systems there are required fields for all grids (see "Required Request Parameters") as well as grid-specific parameters.

Value

List of metadata on the conversion of the grid systems to lat/lng center points or polygons.

Author(s)

Jonathan A. Greenberg (espa-tools@estarcion.net) (wrapper) and USGS ESPA Developers (API and documentation)

References

https://earthexplorer.usgs.gov/inventory/documentation/json-api#grid2ll

See Also

espa_inventory_get_api

Examples

1
2
3
4
## Not run:  
espa_inventory_grid2ll(gridType="WRS1",responseShape="polygon",path=1,row=1)

## End(Not run)

espa.tools documentation built on May 2, 2019, 5:54 p.m.