View source: R/MPCQueryFunctions.R
signMPCURL | R Documentation |
Query Microsoft Planetary Computer (MPC) to obtain an access token and use it to sign
URLs for lidar point tiles. Function does not verify that the URLs
point to
assets on MPC. It does, however, verify that URLs
point to assets in
MPC blob storage. Only assets in MPC blob storage need access tokens. If URLs
do not point to assets in MPC blob storage, URLs
are returned unchanged.
signMPCURL(URLs = NULL)
URLs |
character list containing unsigned URL(s) for point tiles. |
Existing token are removed from URLs
prior to signing.
Signed URLs are only valid for the current R session and cannot be stored for later use without resigning the URL.
A character list of signed URLs that can be used with fetchUSGSTiles
or any other function that retrieves files using https protocol.
## Not run:
signMPCURL(URLs)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.