Skip to content

Commit

Permalink
add otc deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
zansinergise committed Dec 16, 2024
1 parent 4f885c7 commit 0dd99c4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/layer/const.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ export const SH_SERVICE_HOSTNAMES_V3: string[] = [
'https://services-uswest2.sentinel-hub.com/',
'https://creodias.sentinel-hub.com/',
'https://sh.dataspace.copernicus.eu/',
'https://sh-otc.dataspace.copernicus.eu/',
];

// See https://services.sentinel-hub.com/api/v1/metadata/location/ for an up-to-date
Expand All @@ -163,6 +164,7 @@ export enum LocationIdSHv3 {
mundi = 'mundi',
gcpUsCentral1 = 'gcp-us-central1',
cdse = 'cdse',
cdseOtc = 'cdse-otc',
}
export const SHV3_LOCATIONS_ROOT_URL: Record<LocationIdSHv3, string> = {
[LocationIdSHv3.awsEuCentral1]: 'https://services.sentinel-hub.com/',
Expand All @@ -171,11 +173,13 @@ export const SHV3_LOCATIONS_ROOT_URL: Record<LocationIdSHv3, string> = {
[LocationIdSHv3.mundi]: 'https://shservices.mundiwebservices.com/',
[LocationIdSHv3.gcpUsCentral1]: 'https://services-gcp-us-central1.sentinel-hub.com/',
[LocationIdSHv3.cdse]: 'https://sh.dataspace.copernicus.eu/',
[LocationIdSHv3.cdseOtc]: 'https://sh-otc.dataspace.copernicus.eu/',
};

export const SH_SERVICE_ROOT_URL = {
default: SHV3_LOCATIONS_ROOT_URL[LocationIdSHv3.awsEuCentral1],
cdse: SHV3_LOCATIONS_ROOT_URL[LocationIdSHv3.cdse],
cdseOtc: SHV3_LOCATIONS_ROOT_URL[LocationIdSHv3.cdseOtc],
};

export type GetStatsParams = {
Expand Down

0 comments on commit 0dd99c4

Please sign in to comment.