Description Usage Arguments Value Author(s) See Also Examples
Converts espa inventory search results to a SpatialPolygonsDataFrame
1 | search_to_spatialPolygons(espa_inventory_search_results)
|
espa_inventory_search_results |
List. The outputs of espa_inventory_search |
Character of the API KEY needed by the other inventory APIs.
Jonathan A. Greenberg (espa-tools@estarcion.net)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## Not run:
# Get API KEY (required EROS username/password):
apiKey=espa_inventory_login("myusername","mypassword")
# Standard search:
search_results <- espa_inventory_search(datasetName="GLS2005",
"lowerLeft"=list(latitude=75,longitude=-135),
"upperRight"=list(latitude=90,longitude=-120),
startDate="2006-01-01",endDate="2007-12-01",
node="EE",
maxResults=3,startingNumber=1,sortOrder="ASC",
apiKey=apiKey)
plot(search_to_spatialPolygons(espa_inventory_search_results=search_results))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.