Lue dans les fichiers PHP du paquet au commit 2f74758fc2b1 : ses espaces de noms, classes, interfaces et énumérations, leurs constantes, propriétés et méthodes publiques avec leur PHPDoc, et les options que prennent ses fabriques. Rien n’en est exécuté.
CopernicusSourceclassThe Copernicus Data Space Ecosystem's STAC catalogue (stac.dataspace.copernicus.eu/v1): the products of the Sentinel missions, of Landsat, MODIS, the Copernicus DEM and the Copernicus services, by collection, place, period and cloud cover - read without an account.
4 methods · 2 constants
CopernicusSourceFactoryclassThe Copernicus Data Space's STAC catalogue: Sentinel and Copernicus products by place, period and cloud cover - no account needed to search.
2 options
Omnilab\Copernicus
CopernicusSource class
final class CopernicusSource extends HttpSource CopernicusSource.php:30
The Copernicus Data Space Ecosystem's STAC catalogue (stac.dataspace.copernicus.eu/v1): the products of the Sentinel missions, of Landsat, MODIS, the Copernicus DEM and the Copernicus services, by collection, place, period and cloud cover - read without an account.
A product's assets keep the addresses the catalogue gives (s3://eodata/... with an https:// alternate on download.dataspace.copernicus.eu); reading them needs a CDSE access token, which is the application's business: this source only searches. The thumbnail, when there is one, is open.
The catalogue is read by the core's STAC reader (Source\Stac): the cloud cover filtered in CQL2 text, paging by the "next" link's token (the cursor). Without fields selection the catalogue serves at most 100 Sentinel-2 items a page.
const BASE_URI = 'https://stac.dataspace.copernicus.eu/v1/'const MAX_PER_PAGE = 100The most per page the catalogue serves whole items for.
CopernicusSource::__construct()
public function __construct(HttpClientInterface $http, readonly array $collections = ['sentinel-2-l2a'], string $baseUri = self::BASE_URI, array $headers = [], float $throttle = 0.0)$collectionswhat a query that names none searches
CopernicusSource::getName()
public function getName(): stringCopernicusSource::capabilities()
public function capabilities(): arrayCopernicusSource::products()
public function products(ProductQuery $query): PageCopernicusSourceFactory class
final class CopernicusSourceFactory extends SourceFactory CopernicusSourceFactory.php:18
The Copernicus Data Space's STAC catalogue: Sentinel and Copernicus products by place, period and cloud cover - no account needed to search.
options: collections: [sentinel-2-l2a] # what a query that names none searches base_uri: 'https://stac.dataspace.copernicus.eu/v1/'
Options
| Option | Default | |
|---|---|---|
collections | ['sentinel-2-l2a'] | |
base_uri | CopernicusSource::BASE_URI |